$name, 'file' => $file, 'filepath' => $filepath ]; } } } return $results; } /** * find templates * * @return array * */ public function find() { $results = array_merge( $this->getTemplates(self::TEMPLATES_DIR), $this->getTemplates(self::TEMPLATES_CUSTOM_DIR) ); return $results; } }