for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Erykai\Template;
class Template extends Resource
{
/**
* @param string $index
* @param string $pathFile
*/
public function nav(string $index, string $pathFile, string $module = null)
$this->setPage(file_get_contents(TEMPLATE_PATH . "/{$this->getThemePage()}/$pathFile.{$this->getExt()}"));
Erykai\Template\TEMPLATE_PATH
$this->setIndex(file_get_contents(TEMPLATE_PATH . "/{$this->getThemeIndex()}/$index.{$this->getExt()}"));
$this->page();
$this->route();
$this->text($this->getThemeIndex(). '_'. str_replace("/","_", $pathFile), $module);
}