for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Xoopsmodules\xsitemap;
/**
* Class Helper
*/
class Helper extends \Xmf\Module\Helper
{
public $debug;
* @internal param $debug
* @param bool $debug
protected function __construct($debug = false)
$this->debug = $debug;
$this->dirname = basename(dirname(__DIR__));
}
*
* @return \Xmf\Module\Helper
public static function getInstance($debug = false)
static $instance;
if (null === $instance) {
$instance = new static($debug);
return $instance;
* @return string
public function getDirname()
return $this->dirname;