| @@ 45-57 (lines=13) @@ | ||
| 42 | private $title; |
|
| 43 | private $description; |
|
| 44 | ||
| 45 | public function __construct(ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ResourceMetadataFactoryInterface $resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, ContextBuilderInterface $contextBuilder, ResourceClassResolverInterface $resourceClassResolver, OperationMethodResolverInterface $operationMethodResolver, UrlGeneratorInterface $urlGenerator, string $title = '', string $description = '') |
|
| 46 | { |
|
| 47 | $this->resourceNameCollectionFactory = $resourceNameCollectionFactory; |
|
| 48 | $this->resourceMetadataFactory = $resourceMetadataFactory; |
|
| 49 | $this->propertyNameCollectionFactory = $propertyNameCollectionFactory; |
|
| 50 | $this->propertyMetadataFactory = $propertyMetadataFactory; |
|
| 51 | $this->contextBuilder = $contextBuilder; |
|
| 52 | $this->resourceClassResolver = $resourceClassResolver; |
|
| 53 | $this->operationMethodResolver = $operationMethodResolver; |
|
| 54 | $this->urlGenerator = $urlGenerator; |
|
| 55 | $this->title = $title; |
|
| 56 | $this->description = $description; |
|
| 57 | } |
|
| 58 | ||
| 59 | /** |
|
| 60 | * {@inheritdoc} |
|
| @@ 47-60 (lines=14) @@ | ||
| 44 | private $description; |
|
| 45 | private $iriConverter; |
|
| 46 | ||
| 47 | public function __construct(ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ResourceMetadataFactoryInterface $resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, ContextBuilderInterface $contextBuilder, ResourceClassResolverInterface $resourceClassResolver, OperationMethodResolverInterface $operationMethodResolver, UrlGeneratorInterface $urlGenerator, IriConverterInterface $iriConverter, string $title = '', string $description = '') |
|
| 48 | { |
|
| 49 | $this->resourceNameCollectionFactory = $resourceNameCollectionFactory; |
|
| 50 | $this->resourceMetadataFactory = $resourceMetadataFactory; |
|
| 51 | $this->propertyNameCollectionFactory = $propertyNameCollectionFactory; |
|
| 52 | $this->propertyMetadataFactory = $propertyMetadataFactory; |
|
| 53 | $this->contextBuilder = $contextBuilder; |
|
| 54 | $this->resourceClassResolver = $resourceClassResolver; |
|
| 55 | $this->operationMethodResolver = $operationMethodResolver; |
|
| 56 | $this->urlGenerator = $urlGenerator; |
|
| 57 | $this->title = $title; |
|
| 58 | $this->description = $description; |
|
| 59 | $this->iriConverter = $iriConverter; |
|
| 60 | } |
|
| 61 | ||
| 62 | /** |
|
| 63 | * {@inheritdoc} |
|