protected function initialize()
    {
        if ($this->initialized) {
            return;
        }

        foreach ($this->classes as $class) {
            $this->providers[] = new $class;
        }

        foreach ($this->providers as $provider) {
            if ($provider instanceof BuilderAwareInterface) {
                $provider->setSchemaBuilder($this->schemaBuilder);
            }
        }

        $this->initialized = true;
    }
protected function initialize()
    {
        if ($this->initialized) {
            return;
        }

        foreach ($this->classes as $class) {
            $this->providers[] = new $class;
        }

        foreach ($this->providers as $provider) {
            if ($provider instanceof BuilderAwareInterface) {
                $provider->setSchemaBuilder($this->schemaBuilder);
            }
        }

        $this->initialized = true;
    }
protected function initialize ( ) { if ( $ this -> initialized ) { return ; } foreach ( $ this -> classes as $ class ) { $ this -> providers [ ] = new $ class ; } foreach ( $ this -> providers as $ provider ) { if ( $ provider instanceof BuilderAwareInterface ) { $ provider -> setSchemaBuilder ( $ this -> schemaBuilder ) ; } } $ this -> initialized = true ; }
Initializes the registry.
Initializes the registry .