Property | Type | Description | |
---|---|---|---|
$dataset | WellCommerce\Component\DataSet\DataSetInterface | ||
$manager | WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface | ||
$options | array | ||
$resourceType | string | ||
$serializer | Symfony\Component\Serializer\SerializerInterface | Symfony\Component\Serializer\Normalizer\DenormalizerInterface | Symfony\Component\Serializer\Normalizer\NormalizerInterface |
Method | Description | |
---|---|---|
__construct ( $resourceType, WellCommerce\Component\DataSet\DataSetInterface $dataset, WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface $manager, Symfony\Component\Serializer\SerializerInterface $serializer, array $options = [] ) | RequestHandler constructor. | |
getDataset ( ) | ||
getManager ( ) | ||
getResourceType ( ) | ||
getSerializer ( ) | ||
handleCreateRequest ( |
||
handleDeleteRequest ( |
||
handleGetRequest ( |
||
handleListRequest ( |
||
handleUpdateRequest ( |
Method | Description | |
---|---|---|
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
getResourceById ( integer $identifier ) : object | Returns the resource by its identifier or throws an exception if it was not found |
public __construct ( $resourceType, WellCommerce\Component\DataSet\DataSetInterface $dataset, WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface $manager, Symfony\Component\Serializer\SerializerInterface $serializer, array $options = [] ) | ||
$resourceType | ||
$dataset | WellCommerce\Component\DataSet\DataSetInterface | |
$manager | WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface | |
$serializer | Symfony\Component\Serializer\SerializerInterface | |
$options | array |
protected configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolver |
protected getResourceById ( integer $identifier ) : object | ||
$identifier | integer | |
return | object |
public handleCreateRequest ( |
||
$request |
public handleDeleteRequest ( |
||
$request |
public handleGetRequest ( |
||
$request |
public handleListRequest ( |
||
$request |
public handleUpdateRequest ( |
||
$request |
protected DataSetInterface,WellCommerce\Component\DataSet $dataset | ||
return | WellCommerce\Component\DataSet\DataSetInterface |
protected ManagerInterface,WellCommerce\Bundle\DoctrineBundle\Manager $manager | ||
return | WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface |
protected SerializerInterface,Symfony\Component\Serializer|DenormalizerInterface,Symfony\Component\Serializer\Normalizer|NormalizerInterface,Symfony\Component\Serializer\Normalizer $serializer | ||
return | Symfony\Component\Serializer\SerializerInterface | Symfony\Component\Serializer\Normalizer\DenormalizerInterface | Symfony\Component\Serializer\Normalizer\NormalizerInterface |