EntityToIdTransformer implements DataTransformerInterface
Table of Contents
$om | ObjectManager | |
---|---|---|
$className | string | |
__construct() | mixed | |
transform() | mixed | |
reverseTransform() | mixed |
Properties
$om
private
ObjectManager
$om
$className
private
string
$className
Methods
__construct()
public
__construct(
$om :
ObjectManager
, $className :
string
)
: mixed
Parameters
- $om : ObjectManager
- $className : string
Return values
mixedtransform()
public
transform(
$entity :
mixed
)
: mixed
Parameters
- $entity : mixed
Return values
mixedreverseTransform()
public
reverseTransform(
$id :
mixed
)
: mixed
Parameters
- $id : mixed