Class ScalarAdapter
Scalar adapter maps a scalar value to a key or prop value through a Serializer.
-
Nethgui\Adapter\ScalarAdapter
implements
Nethgui\Adapter\AdapterInterface
Methods summary
public
|
#
__construct( Nethgui\Serializer\SerializerInterface $serializer )
|
public
|
|
public
mixed
|
#
get( )
Returns
mixed
Api
Implementation of
|
public
|
#
set( $value )
Api
Var
mixed $value
Implementation of
|
public
bool;
|
#
isModified( )
Report if the object state has been changed from the last save()
Report if the object state has been changed from the last save()
Returns
bool;
Api
Implementation of
|
public
boolean
|
#
save( )
Persist the object state
Returns
boolean
See
Api
Implementation of
|