createContainer() public méthode

Create schema provider container.
public createContainer ( array $providers = [] ) : Neomerx\JsonApi\Contracts\Schema\ContainerInterface
$providers array
Résultat Neomerx\JsonApi\Contracts\Schema\ContainerInterface
 /**
  * @param string $name
  * @return ContainerInterface
  */
 public function getSchemas($name = null)
 {
     $name = $name ?: static::DEFAULTS;
     if (static::DEFAULTS !== $name && !$this->namespaced) {
         throw new \RuntimeException(sprintf('Schemas configuration is not namespaced, so cannot get "%s".', $name));
     }
     $defaults = $this->get(static::DEFAULTS);
     $schemas = static::DEFAULTS === $name ? $defaults : array_merge($defaults, $this->get($name));
     return $this->factory->createContainer($schemas);
 }