Neos\Flow\Property\TypeConverter\SessionConverter::canConvertFrom PHP Метод

canConvertFrom() публичный Метод

This implementation always returns TRUE for this method.
public canConvertFrom ( mixed $source, string $targetType ) : boolean
$source mixed the source data
$targetType string the type to convert to.
Результат boolean TRUE if this TypeConverter can convert from $source to $targetType, FALSE otherwise.
    public function canConvertFrom($source, $targetType)
    {
        return preg_match(self::PATTERN_MATCH_SESSIONIDENTIFIER, $source) === 1 && $targetType === $this->targetType;
    }