コード例 #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()));
 }