public function getModelFiles()
    {
        $files = [];

        foreach ($this->getOrm()->getComponents() as $component) {
            if ($component instanceof AppInterface) {
                $fileHandler = new FileHandler($component->getModelsPath());
                $files[$component->getName()] = $fileHandler->readDir('php');
            }
        }

        return $files;
    }
public function getModelFiles()
    {
        $files = [];

        foreach ($this->getOrm()->getComponents() as $component) {
            if ($component instanceof AppInterface) {
                $fileHandler = new FileHandler($component->getModelsPath());
                $files[$component->getName()] = $fileHandler->readDir('php');
            }
        }

        return $files;
    }
public function getModelFiles ( ) { $ files = [ ] ; foreach ( $ this -> getOrm ( ) -> getComponents ( ) as $ component ) { if ( $ component instanceof AppInterface ) { $ fileHandler = new FileHandler ( $ component -> getModelsPath ( ) ) ; $ files [ $ component -> getName ( ) ] = $ fileHandler -> readDir ( 'php' ) ; } } return $ files ; }
Returns a list of all model files.

@return array
Returns a list of all model files .