public function collect()
    {
        $this->information = new Collection;

        $this->cmsModelFiles = $this->getCmsModelFiles();
        $this->modelClasses  = $this->getModelsToCollect();

        $this->collectRawModels()
             ->collectCmsModels()
             ->enrichModelInformation();

        return $this->information;
    }
public function collect()
    {
        $this->information = new Collection;

        $this->cmsModelFiles = $this->getCmsModelFiles();
        $this->modelClasses  = $this->getModelsToCollect();

        $this->collectRawModels()
             ->collectCmsModels()
             ->enrichModelInformation();

        return $this->information;
    }
public function collect ( ) { $ this -> information = new Collection ; $ this -> cmsModelFiles = $ this -> getCmsModelFiles ( ) ; $ this -> modelClasses = $ this -> getModelsToCollect ( ) ; $ this -> collectRawModels ( ) -> collectCmsModels ( ) -> enrichModelInformation ( ) ; return $ this -> information ; }
Collects and returns information about models.

@return Collection|ModelInformationInterface[]
Collects and returns information about models .