{@inheritdoc}

@param mixed $value

@return array|null
500235
public function tags($value)
    {
        foreach ($this->candidates as $categorizer) {
            $result = $categorizer->tags($value);
            if ($result !== null) {
                return $result;
            }
        }

        return [];
    }
613719
public function getTypeFromValue($value = null)
    {
        $value = ($value == null ? $this->value : $value);
        return array_search($value, self::$codeList);
    }
16787
public function parse($value)
    {
        if ($value === null) {
            return null;
        }

        if ($value == '()') {
            return [null];
        }

        return $this->parseComposite($value);
    }
457132
private function splitQueryValue(string $value): array
    {
        $data = \explode('=', $value, 2);
        if (!isset($data[1])) {
            $data[] = null;
        }

        return $data;
    }
123688
public function findAll($value): ?array
    {
        $founded = array_keys($this->items->toArray(), $value, true);

        if (0 === count($founded)) {
            return null;
        }

        return $founded;
    }
858208
public function value( $value = NULL ){
		if( is_null( $value ) )
			return $this->value;
		$this->value	= $value;
	}
1247004
public function filter($value)
    {
        if ($value instanceof VisibilityInterface
            && !$this->builder->isVisibilityAllowed($value->getVisibility())
        ) {
            return null;
        }

        return $value;
    }
603211
public function get($value) {

		return isset($this->items[$value]) ? $this->items[$value] : NULL;

	}
1141967
public function extract($value)
    {
        if ($this->nullable && $value === null) {
            return null;
        }

        $return = [];
        if (is_array($value) || $value instanceof \Traversable) {
            foreach ($value as $key => $object) {
                $return[$key] = $this->hasOneStrategy->extract($object);
            }
        } else {
            throw new Exception\InvalidArgumentException(sprintf(
                'Value must be null (only if nullable option is enabled), or an array, or a Traversable: "%s" given',
                is_object($value) ? get_class($value) : gettype($value)
            ));
        }

        return $return;
    }
741480
public function withTransformations($value) {
        // null for not provided remains untouched
        if ($value === null)
            return null;

        foreach ($this->valueTransformations as $f)
            $value = $f($value);

        return $value;
    }
1159646
public function marshal($value)
    {
        if (is_array($value) || $value === null) {
            return $value;
        }

        return json_decode($value, true);
    }
1230719
protected function convertValueToSyncFormat($value)
    {
        if (null === $value) {
            return [];
        }

        $orderColumn = $this->getPivotOrderColumn();

        return array_map(
            function ($position) use ($orderColumn) {
                return [ $orderColumn => $position ];
            },
            $value
        );
    }
15260
public function filter($value) {
    	    	
    	$value   = str_replace(["\r", "\r\n", "\n"], '', $value);
    	$decoded = json_decode($value,true);
    	if(is_null($decoded)){
    		return null;
    	}    	
    	
    	switch($this->options["format"]){
    	    case self::DECODED:
    	        return $decoded;
    	    case self::JSON:
    	        return $value;
    	    case self::SERIALIZED:
    	        return serialize($decoded);
    	    default:
    	        throw new FilterException("unknown format for JSON filter specified");
    	}
    }
885560
public function options($value = null)
    {
        if ($value === null) {
            if (is_array($this->options)) {
                return $this->options;
            }
            elseif (is_callable($this->options)) {
                $callable = $this->options;
                return $callable();
            }

            return [];
        }

        $this->options = $value;

        return $this;
    }
996862
protected function findEntity($value)
    {
        $result = $this->finder->{$this->findMethod}($value);

        if ($result === null) {
            return [];
        }

        return (array) $result;
    }
423473
public function get($value = null) {

        $data = $this->collection();

        if(is_array($value)) {

            $args = [];

            foreach($value as $name) {

                if(isset($data[$name])) {

                    $args[$name] = $data[$name];
                }
            }

            return $args;

        } else {

            if(isset($data[$value])) {
                
                return $data[$value];

            } else {

                // Get Variables
                if(isset($data['var'][$value])) {

                    return $data['var'][$value];
                }

                // Get library
                if(isset($data['lib'][$value])) {

                    return $data['lib'][$value];
                }
            }
        }
    }
124813
public function extract($value)
    {
        if ($this->nullable && $value === null) {
            return null;
        }
        settype($value, $this->extractToType);
        return $value;
    }