/** * Constructor * * @param string $moduleDir * @param array $translations */ public function __construct($moduleDir = null, $translations = array()) { parent::__construct($translations); $this->setModuleDir($moduleDir); $this->setFile($this->getModmanFile()); }
function __construct($mappings, $translations = array(), $pathSuffix) { parent::__construct($translations, $pathSuffix); $this->setMappings($mappings); }
/** * Constructor * * @param string $moduleDir * @param string $packageXmlFile */ public function __construct($moduleDir, $packageXmlFile, $translations = array()) { parent::__construct($translations); $this->setModuleDir($moduleDir); $this->setFile($this->getModuleDir() . '/' . $packageXmlFile); }
function __construct($mappings, $translations = array()) { parent::__construct($translations); $this->setMappings($mappings); }