private function load()
    {
        foreach ($this->resources as $key => $resource) {
            if (!$resource instanceof PuliResource) {
                $this->resources[$key] = $this->repo->get($resource);
            }
        }

        $this->loaded = true;
    }
private function load()
    {
        foreach ($this->resources as $key => $resource) {
            if (!$resource instanceof PuliResource) {
                $this->resources[$key] = $this->repo->get($resource);
            }
        }

        $this->loaded = true;
    }
private function load ( ) { foreach ( $ this -> resources as $ key => $ resource ) { if ( ! $ resource instanceof PuliResource ) { $ this -> resources [ $ key ] = $ this -> repo -> get ( $ resource ) ; } } $ this -> loaded = true ; }
Loads the complete collection.
Loads the complete collection .