__construct() public méthode

public __construct ( Neomerx\JsonApi\Contracts\Encoder\Parser\ParserFactoryInterface $parserFactory, Neomerx\JsonApi\Contracts\Encoder\Stack\StackFactoryInterface $stackFactory, Neomerx\JsonApi\Contracts\Schema\SchemaFactoryInterface $schemaFactory, Neomerx\JsonApi\Contracts\Schema\ContainerInterface $container, Neomerx\JsonApi\Contracts\Encoder\Parser\ParserManagerInterface $manager )
$parserFactory Neomerx\JsonApi\Contracts\Encoder\Parser\ParserFactoryInterface
$stackFactory Neomerx\JsonApi\Contracts\Encoder\Stack\StackFactoryInterface
$schemaFactory Neomerx\JsonApi\Contracts\Schema\SchemaFactoryInterface
$container Neomerx\JsonApi\Contracts\Schema\ContainerInterface
$manager Neomerx\JsonApi\Contracts\Encoder\Parser\ParserManagerInterface
Exemple #1
0
 /**
  * Overriden because $container is stored privately in the parent analyzer,
  * which shows you how inconvenient that can be.
  *
  * @param ParserFactoryInterface $parserFactory
  * @param StackFactoryInterface  $stackFactory
  * @param SchemaFactoryInterface $schemaFactory
  * @param ContainerInterface     $container
  * @param ParserManagerInterface $manager
  */
 public function __construct(ParserFactoryInterface $parserFactory, StackFactoryInterface $stackFactory, SchemaFactoryInterface $schemaFactory, ContainerInterface $container, ParserManagerInterface $manager)
 {
     $this->manager = $manager;
     $this->container = $container;
     $this->stackFactory = $stackFactory;
     $this->parserFactory = $parserFactory;
     $this->schemaFactory = $schemaFactory;
     parent::__construct($parserFactory, $stackFactory, $schemaFactory, $container, $manager);
 }