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