示例#1
0
文件: Validator.php 项目: helgi/Pyrus
 /**
  * This is here to allow role extension through plugins
  * @param string
  */
 function _validateRole($role)
 {
     return in_array($role, \Pyrus\Installer\Role::getValidRoles($this->_pf->getPackageType()));
 }