PHP Class Spot\Type

Inheritance: implements Spot\Type\TypeInterface
Afficher le fichier Open project: vlucas/spot

Méthodes publiques

Свойство Type Description
$_adapterOptions
$_adapterType
$_dumpHandlers
$_loadHandlers

Méthodes publiques

Méthode Description
_dump ( $value, $adapter = null ) Dumps value as passed to the datasource internal to allow for extending on a per-adapter basis
_load ( $value, $adapter = null ) Load value as passed from the datasource internal to allow for extending on a per-adapter basis
adapterOptions ( ) : array Array of adapter options with type
cast ( $value ) Cast given value to type required
dump ( $value ) Dump value as passed to the datasource
get ( Entity $entity, $value ) Geting value off Entity object
load ( $value ) Load value as passed from the datasource
set ( Entity $entity, $value ) Setting value on Entity object

Method Details

_dump() public static méthode

Dumps value as passed to the datasource internal to allow for extending on a per-adapter basis
public static _dump ( $value, $adapter = null )

_load() public static méthode

Load value as passed from the datasource internal to allow for extending on a per-adapter basis
public static _load ( $value, $adapter = null )

adapterOptions() public static méthode

Array of adapter options with type
public static adapterOptions ( ) : array
Résultat array

cast() public static méthode

Cast given value to type required
public static cast ( $value )

dump() public static méthode

Dump value as passed to the datasource
public static dump ( $value )

get() public static méthode

Geting value off Entity object
public static get ( Entity $entity, $value )
$entity Entity

load() public static méthode

Load value as passed from the datasource
public static load ( $value )

set() public static méthode

Setting value on Entity object
public static set ( Entity $entity, $value )
$entity Entity

Property Details

$_adapterOptions public_oe static_oe property

public static $_adapterOptions

$_adapterType public_oe static_oe property

public static $_adapterType

$_dumpHandlers public_oe static_oe property

public static $_dumpHandlers

$_loadHandlers public_oe static_oe property

public static $_loadHandlers