class NodeTypeTransformer implements DataTransformerInterface (View source)

Class NodeTypeTransformer

Methods

__construct(ObjectManager $manager)

NodeTypeTransformer constructor.

int|string
transform(NodeType $nodeType)

No description

null|NodeType
reverseTransform(mixed $nodeTypeId)

No description

Details

__construct(ObjectManager $manager)

NodeTypeTransformer constructor.

Parameters

ObjectManager $manager

int|string transform(NodeType $nodeType)

Parameters

NodeType $nodeType

Return Value

int|string

null|NodeType reverseTransform(mixed $nodeTypeId)

Parameters

mixed $nodeTypeId

Return Value

null|NodeType