Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 ( |
Метод | Описание | |
---|---|---|
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 | |
Результат | object |
public handleCreateRequest ( |
||
$request |
public handleDeleteRequest ( |
||
$request |
public handleGetRequest ( |
||
$request |
public handleListRequest ( |
||
$request |
public handleUpdateRequest ( |
||
$request |
protected DataSetInterface,WellCommerce\Component\DataSet $dataset | ||
Результат | WellCommerce\Component\DataSet\DataSetInterface |
protected ManagerInterface,WellCommerce\Bundle\DoctrineBundle\Manager $manager | ||
Результат | WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface |
protected SerializerInterface,Symfony\Component\Serializer|DenormalizerInterface,Symfony\Component\Serializer\Normalizer|NormalizerInterface,Symfony\Component\Serializer\Normalizer $serializer | ||
Результат | Symfony\Component\Serializer\SerializerInterface | Symfony\Component\Serializer\Normalizer\DenormalizerInterface | Symfony\Component\Serializer\Normalizer\NormalizerInterface |