PHP Class Spot\Type

Inheritance: implements Spot\Type\TypeInterface
Mostrar archivo Open project: vlucas/spot

Public Properties

Property Type Description
$_adapterOptions
$_adapterType
$_dumpHandlers
$_loadHandlers

Public Methods

Method 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 method

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 method

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 method

Array of adapter options with type
public static adapterOptions ( ) : array
return array

cast() public static method

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

dump() public static method

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

get() public static method

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

load() public static method

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

set() public static method

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