protected function createAllIfNotDone()
    {
        if ($this->allCreated) {
            return;
        }

        foreach ($this->classes as $id=>$class) {
            if (!isset($this->items[$id])) {
                $this->get($id);
            }
        }
        $this->allCreated = true;
    }
protected function createAllIfNotDone()
    {
        if ($this->allCreated) {
            return;
        }

        foreach ($this->classes as $id=>$class) {
            if (!isset($this->items[$id])) {
                $this->get($id);
            }
        }
        $this->allCreated = true;
    }
protected function createAllIfNotDone ( ) { if ( $ this -> allCreated ) { return ; } foreach ( $ this -> classes as $ id => $ class ) { if ( ! isset ( $ this -> items [ $ id ] ) ) { $ this -> get ( $ id ) ; } } $ this -> allCreated = true ; }
Create all objects of all assigned classes
Create all objects of all assigned classes