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;
    }