public function initialize()
    {
        if ($this->isInformationCached()) {

            $this->information = $this->retrieveInformationFromCache();

        } else {

            $this->information = $this->collector->collect();
        }

        $this->fillModelClassIndex();

        $this->initialized = true;

        return $this;
    }
public function initialize()
    {
        if ($this->isInformationCached()) {

            $this->information = $this->retrieveInformationFromCache();

        } else {

            $this->information = $this->collector->collect();
        }

        $this->fillModelClassIndex();

        $this->initialized = true;

        return $this;
    }
public function initialize ( ) { if ( $ this -> isInformationCached ( ) ) { $ this -> information = $ this -> retrieveInformationFromCache ( ) ; } else { $ this -> information = $ this -> collector -> collect ( ) ; } $ this -> fillModelClassIndex ( ) ; $ this -> initialized = true ; return $ this ; }
Initializes the repository so it may provide model information.

@return $this
Initializes the repository so it may provide model information .