Inheritance: implements Neomerx\JsonApi\Contracts\Schema\ContainerInterface, implements Psr\Log\LoggerAwareInterface, use trait Psr\Log\LoggerAwareTrait
Exemplo n.º 1
0
 /**
  * @param SchemaFactoryInterface $factory
  * @param array                  $schemas
  * @param ModelSchemesInterface  $modelSchemes
  */
 public function __construct(SchemaFactoryInterface $factory, array $schemas, ModelSchemesInterface $modelSchemes)
 {
     parent::__construct($factory, $schemas);
     $this->modelSchemes = $modelSchemes;
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function createContainer(array $providers = [])
 {
     $container = new Container($this, $providers);
     $container->setLogger($this->logger);
     return $container;
 }
Exemplo n.º 3
0
 /**
  * @inheritdoc
  */
 public function getSchema($resource)
 {
     return parent::getSchema($resource)->setResource($resource);
 }