import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -23,11 +23,6 @@
*/
require_once 'Zend/Server/Reflection/Method.php';
/**
* Zend_Server_Reflection_Exception
*/
require_once 'Zend/Server/Reflection/Exception.php';
/**
* Class/Object reflection
*
@ -39,7 +34,7 @@ require_once 'Zend/Server/Reflection/Exception.php';
* @subpackage Reflection
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Class.php 12619 2008-11-13 15:24:29Z alexander $
* @version $Id: Class.php 13217 2008-12-14 11:09:37Z thomas $
*/
class Zend_Server_Reflection_Class
{
@ -110,6 +105,7 @@ class Zend_Server_Reflection_Class
return call_user_func_array(array($this->_reflection, $method), $args);
}
require_once 'Zend/Server/Reflection/Exception.php';
throw new Zend_Server_Reflection_Exception('Invalid reflection method');
}
@ -180,6 +176,7 @@ class Zend_Server_Reflection_Class
}
if (!is_string($namespace) || !preg_match('/[a-z0-9_\.]+/i', $namespace)) {
require_once 'Zend/Server/Reflection/Exception.php';
throw new Zend_Server_Reflection_Exception('Invalid namespace');
}