ApiPlatform\Core\Bridge\Symfony\Routing\IriConverter::__construct PHP Метод

__construct() публичный метод

public __construct ( ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface $propertyMetadataFactory, ApiPlatform\Core\DataProvider\ItemDataProviderInterface $itemDataProvider, ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface $routeNameResolver, Symfony\Component\Routing\RouterInterface $router, Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor = null )
$propertyNameCollectionFactory ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface
$propertyMetadataFactory ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface
$itemDataProvider ApiPlatform\Core\DataProvider\ItemDataProviderInterface
$routeNameResolver ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface
$router Symfony\Component\Routing\RouterInterface
$propertyAccessor Symfony\Component\PropertyAccess\PropertyAccessorInterface
    public function __construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, ItemDataProviderInterface $itemDataProvider, RouteNameResolverInterface $routeNameResolver, RouterInterface $router, PropertyAccessorInterface $propertyAccessor = null)
    {
        $this->propertyNameCollectionFactory = $propertyNameCollectionFactory;
        $this->propertyMetadataFactory = $propertyMetadataFactory;
        $this->itemDataProvider = $itemDataProvider;
        $this->routeNameResolver = $routeNameResolver;
        $this->router = $router;
        $this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor();
    }