protected function getTemplateFile(string $action = null) : string
    {
        $path = '/controller/' . lcfirst($this->getControllerName()) . '/';

        return $path . ($action ? $action : $this->getActionName());
    }
protected function getTemplateFile(string $action = null) : string
    {
        $path = '/controller/' . lcfirst($this->getControllerName()) . '/';

        return $path . ($action ? $action : $this->getActionName());
    }
protected function getTemplateFile ( string $ action = null ) : string { $ path = '/controller/' . lcfirst ( $ this -> getControllerName ( ) ) . '/' ; return $ path . ( $ action ? $ action : $ this -> getActionName ( ) ) ; }
Returns the default template file

@param string $action The action name, leave null for current action name
@return string
Returns the default template file