PHP 클래스 Neos\Flow\Property\TypeConverter\SessionConverter

Given a session ID this will return an instance of Neos\Flow\Session\Session.
상속: extends AbstractTypeConverter
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$priority integer
$sessionManager Neos\Flow\Session\SessionManagerInterface
$sourceTypes array
$targetType string

공개 메소드들

메소드 설명
canConvertFrom ( mixed $source, string $targetType ) : boolean This implementation always returns TRUE for this method.
convertFrom ( string $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : object Convert a session identifier from $source to a Session object

메소드 상세

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.

convertFrom() 공개 메소드

Convert a session identifier from $source to a Session object
public convertFrom ( string $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : object
$source string
$targetType string
$convertedChildProperties array
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
리턴 object the target type

프로퍼티 상세

$priority 보호되어 있는 프로퍼티

protected int $priority
리턴 integer

$sessionManager 보호되어 있는 프로퍼티

protected SessionManagerInterface,Neos\Flow\Session $sessionManager
리턴 Neos\Flow\Session\SessionManagerInterface

$sourceTypes 보호되어 있는 프로퍼티

protected array $sourceTypes
리턴 array

$targetType 보호되어 있는 프로퍼티

protected string $targetType
리턴 string