PHP Class PartKeepr\PartBundle\Action\PartPostAction

Inheritance: use trait Dunglas\ApiBundle\Action\ActionUtilTrait
Show file Open project: partkeepr/PartKeepr

Public Methods

Method Description
__construct ( Symfony\Component\Serializer\SerializerInterface $serializer, PartService $partService )
__invoke ( Request $request ) : mixed Injects the specific root node ID if "@local-tree-root" was specified.

Method Details

__construct() public method

public __construct ( Symfony\Component\Serializer\SerializerInterface $serializer, PartService $partService )
$serializer Symfony\Component\Serializer\SerializerInterface
$partService PartKeepr\PartBundle\Services\PartService

__invoke() public method

Injects the specific root node ID if "@local-tree-root" was specified.
public __invoke ( Request $request ) : mixed
$request Symfony\Component\HttpFoundation\Request
return mixed