@@ 45-53 (lines=9) @@ | ||
42 | private $operationMethodResolver; |
|
43 | private $urlGenerator; |
|
44 | ||
45 | public function __construct(ResourceMetadataFactoryInterface $resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, ResourceClassResolverInterface $resourceClassResolver, OperationMethodResolverInterface $operationMethodResolver, UrlGeneratorInterface $urlGenerator) |
|
46 | { |
|
47 | $this->resourceMetadataFactory = $resourceMetadataFactory; |
|
48 | $this->propertyNameCollectionFactory = $propertyNameCollectionFactory; |
|
49 | $this->propertyMetadataFactory = $propertyMetadataFactory; |
|
50 | $this->resourceClassResolver = $resourceClassResolver; |
|
51 | $this->operationMethodResolver = $operationMethodResolver; |
|
52 | $this->urlGenerator = $urlGenerator; |
|
53 | } |
|
54 | ||
55 | /** |
|
56 | * {@inheritdoc} |
@@ 43-51 (lines=9) @@ | ||
40 | */ |
|
41 | private $nameConverter; |
|
42 | ||
43 | public function __construct(ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ResourceMetadataFactoryInterface $resourceMetadataFactory, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, UrlGeneratorInterface $urlGenerator, NameConverterInterface $nameConverter = null) |
|
44 | { |
|
45 | $this->resourceNameCollectionFactory = $resourceNameCollectionFactory; |
|
46 | $this->resourceMetadataFactory = $resourceMetadataFactory; |
|
47 | $this->propertyNameCollectionFactory = $propertyNameCollectionFactory; |
|
48 | $this->propertyMetadataFactory = $propertyMetadataFactory; |
|
49 | $this->urlGenerator = $urlGenerator; |
|
50 | $this->nameConverter = $nameConverter; |
|
51 | } |
|
52 | ||
53 | /** |
|
54 | * {@inheritdoc} |