From 520be499d9b5c080ef2b0be04a75fc75d9822e1d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 25 Jun 2017 08:08:02 +0200 Subject: switch --- REFLECTION | 219 ++-- REFLECTION-PHP7 | 3385 ------------------------------------------------ php-pecl-yaf-php7.spec | 329 ----- php-pecl-yaf.spec | 135 +- 4 files changed, 204 insertions(+), 3864 deletions(-) delete mode 100644 REFLECTION-PHP7 delete mode 100644 php-pecl-yaf-php7.spec diff --git a/REFLECTION b/REFLECTION index 41119bf..b4a9156 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #178 yaf version 2.3.5 ] { +Extension [ extension #128 yaf version 3.0.4 ] { - Dependencies { Dependency [ spl (Required) ] @@ -28,9 +28,6 @@ Extension [ extension #178 yaf version 2.3.5 ] { Entry [ yaf.name_separator ] Current = '' } - Entry [ yaf.cache_config ] - Current = '0' - } Entry [ yaf.st_compatible ] Current = '0' } @@ -43,7 +40,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Constants [12] { - Constant [ string YAF_VERSION ] { 2.3.5 } + Constant [ string YAF_VERSION ] { 3.0.4 } Constant [ string YAF_ENVIRON ] { product } Constant [ integer YAF_ERR_STARTUP_FAILED ] { 512 } Constant [ integer YAF_ERR_ROUTE_FAILED ] { 513 } @@ -2372,7 +2369,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } } - Class [ final class Yaf_Route_Rewrite extends Yaf_Route_Interface implements Yaf_Route_Interface ] { + Class [ final class Yaf_Route_Rewrite implements Yaf_Route_Interface ] { - Constants [0] { } @@ -2399,14 +2396,14 @@ Extension [ extension #178 yaf version 2.3.5 ] { } } - Method [ public method route ] { + Method [ public method route ] { - Parameters [1] { Parameter #0 [ $request ] } } - Method [ public method assemble ] { + Method [ public method assemble ] { - Parameters [2] { Parameter #0 [ array $info ] @@ -2416,7 +2413,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } } - Class [ final class Yaf_Route_Regex extends Yaf_Route_Interface implements Yaf_Route_Interface ] { + Class [ final class Yaf_Route_Regex implements Yaf_Route_Interface ] { - Constants [0] { } @@ -2447,14 +2444,14 @@ Extension [ extension #178 yaf version 2.3.5 ] { } } - Method [ public method route ] { + Method [ public method route ] { - Parameters [1] { Parameter #0 [ $request ] } } - Method [ public method assemble ] { + Method [ public method assemble ] { - Parameters [2] { Parameter #0 [ array $info ] @@ -2804,7 +2801,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } } - Class [ class Yaf_Exception extends Exception ] { + Class [ class Yaf_Exception extends Exception implements Throwable ] { - Constants [0] { } @@ -2824,7 +2821,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -2836,33 +2833,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_StartupError extends Yaf_Exception ] { + Class [ class Yaf_Exception_StartupError extends Yaf_Exception implements Throwable ] { - Constants [0] { } @@ -2882,7 +2879,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -2894,33 +2891,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_RouterFailed extends Yaf_Exception ] { + Class [ class Yaf_Exception_RouterFailed extends Yaf_Exception implements Throwable ] { - Constants [0] { } @@ -2940,7 +2937,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -2952,33 +2949,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_DispatchFailed extends Yaf_Exception ] { + Class [ class Yaf_Exception_DispatchFailed extends Yaf_Exception implements Throwable ] { - Constants [0] { } @@ -2998,7 +2995,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -3010,33 +3007,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_LoadFailed extends Yaf_Exception ] { + Class [ class Yaf_Exception_LoadFailed extends Yaf_Exception implements Throwable ] { - Constants [0] { } @@ -3056,7 +3053,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -3068,33 +3065,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_LoadFailed_Module extends Yaf_Exception_LoadFailed ] { + Class [ class Yaf_Exception_LoadFailed_Module extends Yaf_Exception_LoadFailed implements Throwable ] { - Constants [0] { } @@ -3114,7 +3111,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -3126,33 +3123,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_LoadFailed_Controller extends Yaf_Exception_LoadFailed ] { + Class [ class Yaf_Exception_LoadFailed_Controller extends Yaf_Exception_LoadFailed implements Throwable ] { - Constants [0] { } @@ -3172,7 +3169,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -3184,33 +3181,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_LoadFailed_Action extends Yaf_Exception_LoadFailed ] { + Class [ class Yaf_Exception_LoadFailed_Action extends Yaf_Exception_LoadFailed implements Throwable ] { - Constants [0] { } @@ -3230,7 +3227,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -3242,33 +3239,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_LoadFailed_View extends Yaf_Exception_LoadFailed ] { + Class [ class Yaf_Exception_LoadFailed_View extends Yaf_Exception_LoadFailed implements Throwable ] { - Constants [0] { } @@ -3288,7 +3285,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -3300,33 +3297,33 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class Yaf_Exception_TypeError extends Yaf_Exception ] { + Class [ class Yaf_Exception_TypeError extends Yaf_Exception implements Throwable ] { - Constants [0] { } @@ -3346,7 +3343,7 @@ Extension [ extension #178 yaf version 2.3.5 ] { } - Methods [10] { - Method [ method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -3358,28 +3355,28 @@ Extension [ extension #178 yaf version 2.3.5 ] { Method [ public method __wakeup ] { } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 deleted file mode 100644 index b4a9156..0000000 --- a/REFLECTION-PHP7 +++ /dev/null @@ -1,3385 +0,0 @@ -Extension [ extension #128 yaf version 3.0.4 ] { - - - Dependencies { - Dependency [ spl (Required) ] - Dependency [ pcre (Required) ] - Dependency [ session (Optional) ] - } - - - INI { - Entry [ yaf.library ] - Current = '' - } - Entry [ yaf.action_prefer ] - Current = '0' - } - Entry [ yaf.lowcase_path ] - Current = '0' - } - Entry [ yaf.use_spl_autoload ] - Current = '0' - } - Entry [ yaf.forward_limit ] - Current = '5' - } - Entry [ yaf.name_suffix ] - Current = '1' - } - Entry [ yaf.name_separator ] - Current = '' - } - Entry [ yaf.st_compatible ] - Current = '0' - } - Entry [ yaf.environ ] - Current = 'product' - } - Entry [ yaf.use_namespace ] - Current = '0' - } - } - - - Constants [12] { - Constant [ string YAF_VERSION ] { 3.0.4 } - Constant [ string YAF_ENVIRON ] { product } - Constant [ integer YAF_ERR_STARTUP_FAILED ] { 512 } - Constant [ integer YAF_ERR_ROUTE_FAILED ] { 513 } - Constant [ integer YAF_ERR_DISPATCH_FAILED ] { 514 } - Constant [ integer YAF_ERR_AUTOLOAD_FAILED ] { 520 } - Constant [ integer YAF_ERR_NOTFOUND_MODULE ] { 515 } - Constant [ integer YAF_ERR_NOTFOUND_CONTROLLER ] { 516 } - Constant [ integer YAF_ERR_NOTFOUND_ACTION ] { 517 } - Constant [ integer YAF_ERR_NOTFOUND_VIEW ] { 518 } - Constant [ integer YAF_ERR_CALL_FAILED ] { 519 } - Constant [ integer YAF_ERR_TYPE_ERROR ] { 521 } - } - - - Classes [38] { - Class [ final class Yaf_Application ] { - - - Constants [0] { - } - - - Static properties [1] { - Property [ protected static $_app ] - } - - - Static methods [1] { - Method [ static public method app ] { - - - Parameters [0] { - } - } - } - - - Properties [7] { - Property [ protected $config ] - Property [ protected $dispatcher ] - Property [ protected $_modules ] - Property [ protected $_running ] - Property [ protected $_environ ] - Property [ protected $_err_no ] - Property [ protected $_err_msg ] - } - - - Methods [17] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $config ] - Parameter #1 [ $environ ] - } - } - - Method [ public method run ] { - - - Parameters [0] { - } - } - - Method [ public method execute ] { - - - Parameters [2] { - Parameter #0 [ $entry ] - Parameter #1 [ $... ] - } - } - - Method [ public method environ ] { - - - Parameters [0] { - } - } - - Method [ public method bootstrap ] { - - - Parameters [1] { - Parameter #0 [ $bootstrap ] - } - } - - Method [ public method getConfig ] { - - - Parameters [0] { - } - } - - Method [ public method getModules ] { - - - Parameters [0] { - } - } - - Method [ public method getDispatcher ] { - - - Parameters [0] { - } - } - - Method [ public method setAppDirectory ] { - - - Parameters [1] { - Parameter #0 [ $directory ] - } - } - - Method [ public method getAppDirectory ] { - - - Parameters [0] { - } - } - - Method [ public method getLastErrorNo ] { - - - Parameters [0] { - } - } - - Method [ public method getLastErrorMsg ] { - - - Parameters [0] { - } - } - - Method [ public method clearLastError ] { - - - Parameters [0] { - } - } - - Method [ public method __destruct ] { - } - - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } - - Method [ private method __wakeup ] { - } - } - } - - Class [ abstract class Yaf_Bootstrap_Abstract ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [0] { - } - } - - Class [ final class Yaf_Dispatcher ] { - - - Constants [0] { - } - - - Static properties [1] { - Property [ protected static $_instance ] - } - - - Static methods [1] { - Method [ static public method getInstance ] { - - - Parameters [0] { - } - } - } - - - Properties [10] { - Property [ protected $_router ] - Property [ protected $_view ] - Property [ protected $_request ] - Property [ protected $_plugins ] - Property [ protected $_auto_render ] - Property [ protected $_return_response ] - Property [ protected $_instantly_flush ] - Property [ protected $_default_module ] - Property [ protected $_default_controller ] - Property [ protected $_default_action ] - } - - - Methods [23] { - Method [ private method __construct ] { - } - - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } - - Method [ private method __wakeup ] { - } - - Method [ public method enableView ] { - - - Parameters [0] { - } - } - - Method [ public method disableView ] { - - - Parameters [0] { - } - } - - Method [ public method initView ] { - - - Parameters [2] { - Parameter #0 [ $templates_dir ] - Parameter #1 [ array or NULL $options ] - } - } - - Method [ public method setView ] { - - - Parameters [1] { - Parameter #0 [ $view ] - } - } - - Method [ public method setRequest ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method getApplication ] { - - - Parameters [0] { - } - } - - Method [ public method getRouter ] { - - - Parameters [0] { - } - } - - Method [ public method getRequest ] { - - - Parameters [0] { - } - } - - Method [ public method setErrorHandler ] { - - - Parameters [2] { - Parameter #0 [ $callback ] - Parameter #1 [ $error_types ] - } - } - - Method [ public method setDefaultModule ] { - - - Parameters [1] { - Parameter #0 [ $module ] - } - } - - Method [ public method setDefaultController ] { - - - Parameters [1] { - Parameter #0 [ $controller ] - } - } - - Method [ public method setDefaultAction ] { - - - Parameters [1] { - Parameter #0 [ $action ] - } - } - - Method [ public method returnResponse ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - - Method [ public method autoRender ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - - Method [ public method flushInstantly ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - - Method [ public method dispatch ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method throwException ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - - Method [ public method catchException ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - - Method [ public method registerPlugin ] { - - - Parameters [1] { - Parameter #0 [ $plugin ] - } - } - } - } - - Class [ final class Yaf_Loader ] { - - - Constants [0] { - } - - - Static properties [1] { - Property [ protected static $_instance ] - } - - - Static methods [2] { - Method [ static public method getInstance ] { - - - Parameters [2] { - Parameter #0 [ $local_library_path ] - Parameter #1 [ $global_library_path ] - } - } - - Method [ static public method import ] { - - - Parameters [1] { - Parameter #0 [ $file ] - } - } - } - - - Properties [2] { - Property [ protected $_library ] - Property [ protected $_global_library ] - } - - - Methods [11] { - Method [ private method __construct ] { - - - Parameters [0] { - } - } - - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } - - Method [ private method __wakeup ] { - } - - Method [ public method autoload ] { - - - Parameters [1] { - Parameter #0 [ $class_name ] - } - } - - Method [ public method registerLocalNamespace ] { - - - Parameters [1] { - Parameter #0 [ $name_prefix ] - } - } - - Method [ public method getLocalNamespace ] { - - - Parameters [0] { - } - } - - Method [ public method clearLocalNamespace ] { - - - Parameters [0] { - } - } - - Method [ public method isLocalName ] { - - - Parameters [1] { - Parameter #0 [ $class_name ] - } - } - - Method [ public method setLibraryPath ] { - - - Parameters [2] { - Parameter #0 [ $library_path ] - Parameter #1 [ $is_global ] - } - } - - Method [ public method getLibraryPath ] { - - - Parameters [1] { - Parameter #0 [ $is_global ] - } - } - } - } - - Class [ abstract class Yaf_Request_Abstract ] { - - - Constants [2] { - Constant [ string SCHEME_HTTP ] { http } - Constant [ string SCHEME_HTTPS ] { https } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [11] { - Property [ public $module ] - Property [ public $controller ] - Property [ public $action ] - Property [ public $method ] - Property [ protected $params ] - Property [ protected $language ] - Property [ protected $_exception ] - Property [ protected $_base_uri ] - Property [ protected $uri ] - Property [ protected $dispatched ] - Property [ protected $routed ] - } - - - Methods [29] { - Method [ public method isGet ] { - - - Parameters [0] { - } - } - - Method [ public method isPost ] { - - - Parameters [0] { - } - } - - Method [ public method isPut ] { - - - Parameters [0] { - } - } - - Method [ public method isHead ] { - - - Parameters [0] { - } - } - - Method [ public method isOptions ] { - - - Parameters [0] { - } - } - - Method [ public method isCli ] { - - - Parameters [0] { - } - } - - Method [ public method isXmlHttpRequest ] { - - - Parameters [0] { - } - } - - Method [ public method getServer ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method getEnv ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method setParam ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method getParam ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method getParams ] { - - - Parameters [0] { - } - } - - Method [ public method getException ] { - - - Parameters [0] { - } - } - - Method [ public method getModuleName ] { - - - Parameters [0] { - } - } - - Method [ public method getControllerName ] { - - - Parameters [0] { - } - } - - Method [ public method getActionName ] { - - - Parameters [0] { - } - } - - Method [ public method setModuleName ] { - - - Parameters [1] { - Parameter #0 [ $module ] - } - } - - Method [ public method setControllerName ] { - - - Parameters [1] { - Parameter #0 [ $controller ] - } - } - - Method [ public method setActionName ] { - - - Parameters [1] { - Parameter #0 [ $action ] - } - } - - Method [ public method getMethod ] { - - - Parameters [0] { - } - } - - Method [ public method getLanguage ] { - - - Parameters [0] { - } - } - - Method [ public method setBaseUri ] { - - - Parameters [1] { - Parameter #0 [ $uri ] - } - } - - Method [ public method getBaseUri ] { - - - Parameters [0] { - } - } - - Method [ public method getRequestUri ] { - - - Parameters [0] { - } - } - - Method [ public method setRequestUri ] { - - - Parameters [1] { - Parameter #0 [ $uri ] - } - } - - Method [ public method isDispatched ] { - - - Parameters [0] { - } - } - - Method [ public method setDispatched ] { - - - Parameters [0] { - } - } - - Method [ public method isRouted ] { - - - Parameters [0] { - } - } - - Method [ public method setRouted ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - } - } - - Class [ class Yaf_Request_Http extends Yaf_Request_Abstract ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [11] { - Property [ public $module ] - Property [ public $controller ] - Property [ public $action ] - Property [ public $method ] - Property [ protected $params ] - Property [ protected $language ] - Property [ protected $_exception ] - Property [ protected $_base_uri ] - Property [ protected $uri ] - Property [ protected $dispatched ] - Property [ protected $routed ] - } - - - Methods [37] { - Method [ public method getQuery ] { - } - - Method [ public method getRequest ] { - } - - Method [ public method getPost ] { - } - - Method [ public method getCookie ] { - } - - Method [ public method getFiles ] { - } - - Method [ public method get ] { - } - - Method [ public method isXmlHttpRequest ] { - } - - Method [ public method __construct ] { - } - - Method [ private method __clone ] { - } - - Method [ public method isGet ] { - - - Parameters [0] { - } - } - - Method [ public method isPost ] { - - - Parameters [0] { - } - } - - Method [ public method isPut ] { - - - Parameters [0] { - } - } - - Method [ public method isHead ] { - - - Parameters [0] { - } - } - - Method [ public method isOptions ] { - - - Parameters [0] { - } - } - - Method [ public method isCli ] { - - - Parameters [0] { - } - } - - Method [ public method getServer ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method getEnv ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method setParam ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method getParam ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method getParams ] { - - - Parameters [0] { - } - } - - Method [ public method getException ] { - - - Parameters [0] { - } - } - - Method [ public method getModuleName ] { - - - Parameters [0] { - } - } - - Method [ public method getControllerName ] { - - - Parameters [0] { - } - } - - Method [ public method getActionName ] { - - - Parameters [0] { - } - } - - Method [ public method setModuleName ] { - - - Parameters [1] { - Parameter #0 [ $module ] - } - } - - Method [ public method setControllerName ] { - - - Parameters [1] { - Parameter #0 [ $controller ] - } - } - - Method [ public method setActionName ] { - - - Parameters [1] { - Parameter #0 [ $action ] - } - } - - Method [ public method getMethod ] { - - - Parameters [0] { - } - } - - Method [ public method getLanguage ] { - - - Parameters [0] { - } - } - - Method [ public method setBaseUri ] { - - - Parameters [1] { - Parameter #0 [ $uri ] - } - } - - Method [ public method getBaseUri ] { - - - Parameters [0] { - } - } - - Method [ public method getRequestUri ] { - - - Parameters [0] { - } - } - - Method [ public method setRequestUri ] { - - - Parameters [1] { - Parameter #0 [ $uri ] - } - } - - Method [ public method isDispatched ] { - - - Parameters [0] { - } - } - - Method [ public method setDispatched ] { - - - Parameters [0] { - } - } - - Method [ public method isRouted ] { - - - Parameters [0] { - } - } - - Method [ public method setRouted ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - } - } - - Class [ final class Yaf_Request_Simple extends Yaf_Request_Abstract ] { - - - Constants [2] { - Constant [ string SCHEME_HTTP ] { http } - Constant [ string SCHEME_HTTPS ] { https } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [11] { - Property [ public $module ] - Property [ public $controller ] - Property [ public $action ] - Property [ public $method ] - Property [ protected $params ] - Property [ protected $language ] - Property [ protected $_exception ] - Property [ protected $_base_uri ] - Property [ protected $uri ] - Property [ protected $dispatched ] - Property [ protected $routed ] - } - - - Methods [37] { - Method [ public method __construct ] { - } - - Method [ private method __clone ] { - } - - Method [ public method getQuery ] { - } - - Method [ public method getRequest ] { - } - - Method [ public method getPost ] { - } - - Method [ public method getCookie ] { - } - - Method [ public method getFiles ] { - } - - Method [ public method get ] { - } - - Method [ public method isXmlHttpRequest ] { - } - - Method [ public method isGet ] { - - - Parameters [0] { - } - } - - Method [ public method isPost ] { - - - Parameters [0] { - } - } - - Method [ public method isPut ] { - - - Parameters [0] { - } - } - - Method [ public method isHead ] { - - - Parameters [0] { - } - } - - Method [ public method isOptions ] { - - - Parameters [0] { - } - } - - Method [ public method isCli ] { - - - Parameters [0] { - } - } - - Method [ public method getServer ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method getEnv ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method setParam ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method getParam ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $default ] - } - } - - Method [ public method getParams ] { - - - Parameters [0] { - } - } - - Method [ public method getException ] { - - - Parameters [0] { - } - } - - Method [ public method getModuleName ] { - - - Parameters [0] { - } - } - - Method [ public method getControllerName ] { - - - Parameters [0] { - } - } - - Method [ public method getActionName ] { - - - Parameters [0] { - } - } - - Method [ public method setModuleName ] { - - - Parameters [1] { - Parameter #0 [ $module ] - } - } - - Method [ public method setControllerName ] { - - - Parameters [1] { - Parameter #0 [ $controller ] - } - } - - Method [ public method setActionName ] { - - - Parameters [1] { - Parameter #0 [ $action ] - } - } - - Method [ public method getMethod ] { - - - Parameters [0] { - } - } - - Method [ public method getLanguage ] { - - - Parameters [0] { - } - } - - Method [ public method setBaseUri ] { - - - Parameters [1] { - Parameter #0 [ $uri ] - } - } - - Method [ public method getBaseUri ] { - - - Parameters [0] { - } - } - - Method [ public method getRequestUri ] { - - - Parameters [0] { - } - } - - Method [ public method setRequestUri ] { - - - Parameters [1] { - Parameter #0 [ $uri ] - } - } - - Method [ public method isDispatched ] { - - - Parameters [0] { - } - } - - Method [ public method setDispatched ] { - - - Parameters [0] { - } - } - - Method [ public method isRouted ] { - - - Parameters [0] { - } - } - - Method [ public method setRouted ] { - - - Parameters [1] { - Parameter #0 [ $flag ] - } - } - } - } - - Class [ abstract class Yaf_Response_Abstract ] { - - - Constants [1] { - Constant [ string DEFAULT_BODY ] { content } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [3] { - Property [ protected $_header ] - Property [ protected $_body ] - Property [ protected $_sendheader ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [0] { - } - } - - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - - Method [ private method __clone ] { - } - - Method [ public method __toString ] { - } - - Method [ public method setBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method appendBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method prependBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method clearBody ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method getBody ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method response ] { - - - Parameters [0] { - } - } - } - } - - Class [ class Yaf_Response_Http extends Yaf_Response_Abstract ] { - - - Constants [1] { - Constant [ string DEFAULT_BODY ] { content } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [4] { - Property [ protected $_header ] - Property [ protected $_body ] - Property [ protected $_sendheader ] - Property [ protected $_response_code ] - } - - - Methods [14] { - Method [ public method setHeader ] { - - - Parameters [4] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - Parameter #2 [ $rep ] - Parameter #3 [ $response_code ] - } - } - - Method [ public method setAllHeaders ] { - - - Parameters [1] { - Parameter #0 [ $headers ] - } - } - - Method [ public method getHeader ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method clearHeaders ] { - - - Parameters [0] { - } - } - - Method [ public method setRedirect ] { - - - Parameters [1] { - Parameter #0 [ $url ] - } - } - - Method [ public method response ] { - - - Parameters [0] { - } - } - - Method [ public method __construct ] { - - - Parameters [0] { - } - } - - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - - Method [ public method __toString ] { - } - - Method [ public method setBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method appendBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method prependBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method clearBody ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method getBody ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - } - } - - Class [ class Yaf_Response_Cli extends Yaf_Response_Abstract ] { - - - Constants [1] { - Constant [ string DEFAULT_BODY ] { content } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [3] { - Property [ protected $_header ] - Property [ protected $_body ] - Property [ protected $_sendheader ] - } - - - Methods [9] { - Method [ public method __construct ] { - - - Parameters [0] { - } - } - - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - - Method [ public method __toString ] { - } - - Method [ public method setBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method appendBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method prependBody ] { - - - Parameters [2] { - Parameter #0 [ $body ] - Parameter #1 [ $name ] - } - } - - Method [ public method clearBody ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method getBody ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method response ] { - - - Parameters [0] { - } - } - } - } - - Class [ abstract class Yaf_Controller_Abstract ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [7] { - Property [ public $actions ] - Property [ protected $_module ] - Property [ protected $_name ] - Property [ protected $_request ] - Property [ protected $_response ] - Property [ protected $_invoke_args ] - Property [ protected $_view ] - } - - - Methods [15] { - Method [ protected method render ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ array or NULL $parameters ] - } - } - - Method [ protected method display ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ array or NULL $parameters ] - } - } - - Method [ public method getRequest ] { - - - Parameters [0] { - } - } - - Method [ public method getResponse ] { - - - Parameters [0] { - } - } - - Method [ public method getModuleName ] { - - - Parameters [0] { - } - } - - Method [ public method getView ] { - - - Parameters [0] { - } - } - - Method [ public method initView ] { - - - Parameters [1] { - Parameter #0 [ array or NULL $options ] - } - } - - Method [ public method setViewpath ] { - - - Parameters [1] { - Parameter #0 [ $view_directory ] - } - } - - Method [ public method getViewpath ] { - - - Parameters [0] { - } - } - - Method [ public method forward ] { - - - Parameters [4] { - Parameter #0 [ $module ] - Parameter #1 [ $controller ] - Parameter #2 [ $action ] - Parameter #3 [ array or NULL $parameters ] - } - } - - Method [ public method redirect ] { - - - Parameters [1] { - Parameter #0 [ $url ] - } - } - - Method [ public method getInvokeArgs ] { - - - Parameters [0] { - } - } - - Method [ public method getInvokeArg ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ final public method __construct ] { - } - - Method [ final private method __clone ] { - } - } - } - - Class [ abstract class Yaf_Action_Abstract extends Yaf_Controller_Abstract ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [8] { - Property [ public $actions ] - Property [ protected $_module ] - Property [ protected $_name ] - Property [ protected $_request ] - Property [ protected $_response ] - Property [ protected $_invoke_args ] - Property [ protected $_view ] - Property [ protected $_controller ] - } - - - Methods [16] { - Method [ abstract public method execute ] { - } - - Method [ public method getController ] { - } - - Method [ protected method render ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ array or NULL $parameters ] - } - } - - Method [ protected method display ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ array or NULL $parameters ] - } - } - - Method [ public method getRequest ] { - - - Parameters [0] { - } - } - - Method [ public method getResponse ] { - - - Parameters [0] { - } - } - - Method [ public method getModuleName ] { - - - Parameters [0] { - } - } - - Method [ public method getView ] { - - - Parameters [0] { - } - } - - Method [ public method initView ] { - - - Parameters [1] { - Parameter #0 [ array or NULL $options ] - } - } - - Method [ public method setViewpath ] { - - - Parameters [1] { - Parameter #0 [ $view_directory ] - } - } - - Method [ public method getViewpath ] { - - - Parameters [0] { - } - } - - Method [ public method forward ] { - - - Parameters [4] { - Parameter #0 [ $module ] - Parameter #1 [ $controller ] - Parameter #2 [ $action ] - Parameter #3 [ array or NULL $parameters ] - } - } - - Method [ public method redirect ] { - - - Parameters [1] { - Parameter #0 [ $url ] - } - } - - Method [ public method getInvokeArgs ] { - - - Parameters [0] { - } - } - - Method [ public method getInvokeArg ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ final public method __construct ] { - } - } - } - - Class [ abstract class Yaf_Config_Abstract ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ protected $_config ] - Property [ protected $_readonly ] - } - - - Methods [4] { - Method [ abstract public method get ] { - } - - Method [ abstract public method set ] { - } - - Method [ abstract public method readonly ] { - } - - Method [ abstract public method toArray ] { - } - } - } - - Class [ final class Yaf_Config_Ini extends Yaf_Config_Abstract implements Iterator, Traversable, ArrayAccess, Countable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ protected $_config ] - Property [ protected $_readonly ] - } - - - Methods [18] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $config_file ] - Parameter #1 [ $section ] - } - } - - Method [ public method __isset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method count ] { - - - Parameters [0] { - } - } - - Method [ public method rewind ] { - - - Parameters [0] { - } - } - - Method [ public method current ] { - - - Parameters [0] { - } - } - - Method [ public method next ] { - - - Parameters [0] { - } - } - - Method [ public method valid ] { - - - Parameters [0] { - } - } - - Method [ public method key ] { - - - Parameters [0] { - } - } - - Method [ public method toArray ] { - - - Parameters [0] { - } - } - - Method [ public method readonly ] { - - - Parameters [0] { - } - } - - Method [ public method offsetUnset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetGet ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetExists ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetSet ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method __get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method __set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - } - } - - Class [ final class Yaf_Config_Simple extends Yaf_Config_Abstract implements Iterator, Traversable, ArrayAccess, Countable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ protected $_config ] - Property [ protected $_readonly ] - } - - - Methods [18] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $config_file ] - Parameter #1 [ $section ] - } - } - - Method [ public method __isset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method count ] { - - - Parameters [0] { - } - } - - Method [ public method offsetUnset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method rewind ] { - - - Parameters [0] { - } - } - - Method [ public method current ] { - - - Parameters [0] { - } - } - - Method [ public method next ] { - - - Parameters [0] { - } - } - - Method [ public method valid ] { - - - Parameters [0] { - } - } - - Method [ public method key ] { - - - Parameters [0] { - } - } - - Method [ public method readonly ] { - - - Parameters [0] { - } - } - - Method [ public method toArray ] { - - - Parameters [0] { - } - } - - Method [ public method __set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method __get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetGet ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetExists ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetSet ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - } - } - - Interface [ interface Yaf_View_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [5] { - Method [ abstract public method assign ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ abstract public method display ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ $tpl_vars ] - } - } - - Method [ abstract public method render ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ $tpl_vars ] - } - } - - Method [ abstract public method setScriptPath ] { - - - Parameters [1] { - Parameter #0 [ $template_dir ] - } - } - - Method [ abstract public method getScriptPath ] { - - - Parameters [0] { - } - } - } - } - - Class [ class Yaf_View_Simple implements Yaf_View_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [3] { - Property [ protected $_tpl_vars ] - Property [ protected $_tpl_dir ] - Property [ protected $_options ] - } - - - Methods [13] { - Method [ final public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $template_dir ] - Parameter #1 [ array or NULL $options ] - } - } - - Method [ public method __isset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method assign ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method render ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ $tpl_vars ] - } - } - - Method [ public method eval ] { - - - Parameters [2] { - Parameter #0 [ $tpl_str ] - Parameter #1 [ $vars ] - } - } - - Method [ public method display ] { - - - Parameters [2] { - Parameter #0 [ $tpl ] - Parameter #1 [ $tpl_vars ] - } - } - - Method [ public method assignRef ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ &$value ] - } - } - - Method [ public method clear ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method setScriptPath ] { - - - Parameters [1] { - Parameter #0 [ $template_dir ] - } - } - - Method [ public method getScriptPath ] { - - - Parameters [0] { - } - } - - Method [ public method __get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method __set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - } - } - - Class [ final class Yaf_Router ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ protected $_routes ] - Property [ protected $_current ] - } - - - Methods [7] { - Method [ public method __construct ] { - } - - Method [ public method addRoute ] { - } - - Method [ public method addConfig ] { - } - - Method [ public method route ] { - } - - Method [ public method getRoute ] { - } - - Method [ public method getRoutes ] { - } - - Method [ public method getCurrentRoute ] { - } - } - } - - Interface [ interface Yaf_Route_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [2] { - Method [ abstract public method route ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ abstract public method assemble ] { - - - Parameters [2] { - Parameter #0 [ array $info ] - Parameter #1 [ array or NULL $query ] - } - } - } - } - - Class [ class Yaf_Route_Static implements Yaf_Route_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [3] { - Method [ public method match ] { - - - Parameters [1] { - Parameter #0 [ $uri ] - } - } - - Method [ public method route ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method assemble ] { - - - Parameters [2] { - Parameter #0 [ array $info ] - Parameter #1 [ array or NULL $query ] - } - } - } - } - - Class [ final class Yaf_Route_Simple implements Yaf_Route_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [3] { - Property [ protected $controller ] - Property [ protected $module ] - Property [ protected $action ] - } - - - Methods [3] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $module_name ] - Parameter #1 [ $controller_name ] - Parameter #2 [ $action_name ] - } - } - - Method [ public method route ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method assemble ] { - - - Parameters [2] { - Parameter #0 [ array $info ] - Parameter #1 [ array or NULL $query ] - } - } - } - } - - Class [ final class Yaf_Route_Supervar implements Yaf_Route_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [1] { - Property [ protected $_var_name ] - } - - - Methods [3] { - Method [ public method __construct ] { - - - Parameters [1] { - Parameter #0 [ $supervar_name ] - } - } - - Method [ public method route ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method assemble ] { - - - Parameters [2] { - Parameter #0 [ array $info ] - Parameter #1 [ array or NULL $query ] - } - } - } - } - - Class [ final class Yaf_Route_Rewrite implements Yaf_Route_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [3] { - Property [ protected $_route ] - Property [ protected $_default ] - Property [ protected $_verify ] - } - - - Methods [3] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $match ] - Parameter #1 [ array $route ] - Parameter #2 [ array or NULL $verify ] - } - } - - Method [ public method route ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method assemble ] { - - - Parameters [2] { - Parameter #0 [ array $info ] - Parameter #1 [ array or NULL $query ] - } - } - } - } - - Class [ final class Yaf_Route_Regex implements Yaf_Route_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $_route ] - Property [ protected $_default ] - Property [ protected $_maps ] - Property [ protected $_verify ] - Property [ protected $_reverse ] - } - - - Methods [3] { - Method [ public method __construct ] { - - - Parameters [5] { - Parameter #0 [ $match ] - Parameter #1 [ array $route ] - Parameter #2 [ array or NULL $map ] - Parameter #3 [ array or NULL $verify ] - Parameter #4 [ $reverse ] - } - } - - Method [ public method route ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method assemble ] { - - - Parameters [2] { - Parameter #0 [ array $info ] - Parameter #1 [ array or NULL $query ] - } - } - } - } - - Class [ final class Yaf_Route_Map implements Yaf_Route_Interface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ protected $_ctl_router ] - Property [ protected $_delimiter ] - } - - - Methods [3] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $controller_prefer ] - Parameter #1 [ $delimiter ] - } - } - - Method [ public method route ] { - - - Parameters [1] { - Parameter #0 [ $request ] - } - } - - Method [ public method assemble ] { - - - Parameters [2] { - Parameter #0 [ array $info ] - Parameter #1 [ array or NULL $query ] - } - } - } - } - - Class [ abstract class Yaf_Plugin_Abstract ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [7] { - Method [ public method routerStartup ] { - - - Parameters [2] { - Parameter #0 [ Yaf_Request_Abstract $request ] - Parameter #1 [ Yaf_Response_Abstract $response ] - } - } - - Method [ public method routerShutdown ] { - - - Parameters [2] { - Parameter #0 [ Yaf_Request_Abstract $request ] - Parameter #1 [ Yaf_Response_Abstract $response ] - } - } - - Method [ public method dispatchLoopStartup ] { - - - Parameters [2] { - Parameter #0 [ Yaf_Request_Abstract $request ] - Parameter #1 [ Yaf_Response_Abstract $response ] - } - } - - Method [ public method dispatchLoopShutdown ] { - - - Parameters [2] { - Parameter #0 [ Yaf_Request_Abstract $request ] - Parameter #1 [ Yaf_Response_Abstract $response ] - } - } - - Method [ public method preDispatch ] { - - - Parameters [2] { - Parameter #0 [ Yaf_Request_Abstract $request ] - Parameter #1 [ Yaf_Response_Abstract $response ] - } - } - - Method [ public method postDispatch ] { - - - Parameters [2] { - Parameter #0 [ Yaf_Request_Abstract $request ] - Parameter #1 [ Yaf_Response_Abstract $response ] - } - } - - Method [ public method preResponse ] { - - - Parameters [2] { - Parameter #0 [ Yaf_Request_Abstract $request ] - Parameter #1 [ Yaf_Response_Abstract $response ] - } - } - } - } - - Class [ final class Yaf_Registry ] { - - - Constants [0] { - } - - - Static properties [1] { - Property [ protected static $_instance ] - } - - - Static methods [4] { - Method [ static public method get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ static public method has ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ static public method set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ static public method del ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - } - - - Properties [1] { - Property [ protected $_entries ] - } - - - Methods [2] { - Method [ private method __construct ] { - } - - Method [ private method __clone ] { - } - } - } - - Class [ final class Yaf_Session implements Iterator, Traversable, ArrayAccess, Countable ] { - - - Constants [0] { - } - - - Static properties [1] { - Property [ protected static $_instance ] - } - - - Static methods [1] { - Method [ static public method getInstance ] { - - - Parameters [0] { - } - } - } - - - Properties [2] { - Property [ protected $_session ] - Property [ protected $_started ] - } - - - Methods [24] { - Method [ private method __construct ] { - } - - Method [ private method __clone ] { - } - - Method [ private method __sleep ] { - } - - Method [ private method __wakeup ] { - } - - Method [ public method start ] { - - - Parameters [0] { - } - } - - Method [ public method get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method has ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method del ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method count ] { - - - Parameters [0] { - } - } - - Method [ public method rewind ] { - - - Parameters [0] { - } - } - - Method [ public method next ] { - - - Parameters [0] { - } - } - - Method [ public method current ] { - - - Parameters [0] { - } - } - - Method [ public method key ] { - - - Parameters [0] { - } - } - - Method [ public method valid ] { - - - Parameters [0] { - } - } - - Method [ public method clear ] { - - - Parameters [0] { - } - } - - Method [ public method offsetGet ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetSet ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method offsetExists ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method offsetUnset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method __get ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method __isset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method __set ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $value ] - } - } - - Method [ public method __unset ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - } - } - - Class [ class Yaf_Exception extends Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_StartupError extends Yaf_Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_RouterFailed extends Yaf_Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_DispatchFailed extends Yaf_Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_LoadFailed extends Yaf_Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_LoadFailed_Module extends Yaf_Exception_LoadFailed implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_LoadFailed_Controller extends Yaf_Exception_LoadFailed implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_LoadFailed_Action extends Yaf_Exception_LoadFailed implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_LoadFailed_View extends Yaf_Exception_LoadFailed implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Yaf_Exception_TypeError extends Yaf_Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $previous ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - } -} - diff --git a/php-pecl-yaf-php7.spec b/php-pecl-yaf-php7.spec deleted file mode 100644 index af4873a..0000000 --- a/php-pecl-yaf-php7.spec +++ /dev/null @@ -1,329 +0,0 @@ -# remirepo spec file for php-pecl-yaf -# -# Copyright (c) 2012-2017 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ -# -# Please, preserve the changelog entries -# -%if 0%{?scl:1} -%global sub_prefix %{scl_prefix} -%scl_package php-pecl-yaf -%endif - -%global gh_commit 51e458e9746d7061efc565d49baaca26feacd7ff -%global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_owner laruence -%global gh_project yaf -#global gh_date 20150914 -%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} -%global pecl_name yaf -%global ini_name 40-%{pecl_name}.ini - -Summary: Yet Another Framework -Name: %{?sub_prefix}php-pecl-yaf -Version: 3.0.4 -%if 0%{?gh_date:1} -Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz -%else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -%endif -License: PHP -Group: Development/Languages -URL: http://pecl.php.net/package/yaf -Source1: %{pecl_name}.ini - -BuildRequires: %{?scl_prefix}php-devel >= 7 -BuildRequires: %{?scl_prefix}php-pear -BuildRequires: pcre-devel - -Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} -Requires: %{?scl_prefix}php(api) = %{php_core_api} -%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} - -Provides: %{?scl_prefix}php-%{pecl_name} = %{version} -Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} -Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} -%endif - -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name} <= %{version} -Obsoletes: php53u-pecl-%{pecl_name} <= %{version} -Obsoletes: php54-pecl-%{pecl_name} <= %{version} -Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -Obsoletes: php55u-pecl-%{pecl_name} <= %{version} -Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -Obsoletes: php56u-pecl-%{pecl_name} <= %{version} -Obsoletes: php56w-pecl-%{pecl_name} <= %{version} -Obsoletes: php70u-pecl-%{pecl_name} <= %{version} -Obsoletes: php70w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "7.1" -Obsoletes: php71u-pecl-%{pecl_name} <= %{version} -Obsoletes: php71w-pecl-%{pecl_name} <= %{version} -%endif -%endif - -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter shared private -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} -%endif - - -%description -The Yet Another Framework (Yaf) extension is a PHP framework that is used -to develop web applications. - -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. - - -%prep -%setup -qc -%if 0%{?gh_date:1} -mv %{gh_project}-%{gh_commit} NTS -mv NTS/package.xml . -%else -mv %{pecl_name}-%{version} NTS -%endif - -# Don't install/register tests -sed -e 's/role="test"/role="src"/' \ - %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ - -i package.xml - -cd NTS - -# Sanity check, really often broken -extver=$(sed -n '/#define PHP_YAF_VERSION/{s/.*\t"//;s/".*$//;p}' php_yaf.h ) -if test "x${extver}" != "x%{version}%{?gh_date:-dev}"; then - : Error: Upstream extension version is ${extver}, expecting %{version}%{?gh_date:-dev}. - exit 1 -fi -cd .. - -%if %{with_zts} -# duplicate for ZTS build -cp -pr NTS ZTS -%endif - - -%build -cd NTS -%{_bindir}/phpize -%configure --with-php-config=%{_bindir}/php-config -make %{?_smp_mflags} - -%if %{with_zts} -cd ../ZTS -%{_bindir}/zts-phpize -%configure --with-php-config=%{_bindir}/zts-php-config -make %{?_smp_mflags} -%endif - - -%install -# Install the NTS stuff -make -C NTS install INSTALL_ROOT=%{buildroot} -install -D -m 644 %{SOURCE1} %{buildroot}%{php_inidir}/%{ini_name} - -# Install the ZTS stuff -%if %{with_zts} -make -C ZTS install INSTALL_ROOT=%{buildroot} -install -D -m 644 %{SOURCE1} %{buildroot}%{php_ztsinidir}/%{ini_name} -%endif - -# Install the package XML file -install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml - -# Documentation -for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i -done - - -%check -sed -e 's/Catchable/%s/' -i ?TS/tests/022.phpt - -cd NTS -: Minimal load test for NTS extension -%{__php} --no-php-ini \ - --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} - -: Upstream test suite for NTS extension -TEST_PHP_EXECUTABLE=%{__php} \ -TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ -NO_INTERACTION=1 \ -REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php --show-diff - -%if %{with_zts} -cd ../ZTS -# https://github.com/laruence/php-yaf/issues/180 -rm tests/016.phpt - -: Minimal load test for ZTS extension -%{__ztsphp} --no-php-ini \ - --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} - -: Upstream test suite for NTS extension -TEST_PHP_EXECUTABLE=%{__ztsphp} \ -TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ -NO_INTERACTION=1 \ -REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php --show-diff -%endif - - -%if 0%{?fedora} < 24 -# when pear installed alone, after us -%triggerin -- %{?scl_prefix}php-pear -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -# posttrans as pear can be installed after us -%posttrans -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -%postun -if [ $1 -eq 0 -a -x %{__pecl} ] ; then - %{pecl_uninstall} %{pecl_name} >/dev/null || : -fi -%endif - - -%files -%{?_licensedir:%license NTS/LICENSE} -%doc %{pecl_docdir}/%{pecl_name} -%{pecl_xmldir}/%{name}.xml - -%config(noreplace) %{php_inidir}/%{ini_name} -%{php_extdir}/%{pecl_name}.so - -%if %{with_zts} -%{php_ztsextdir}/%{pecl_name}.so -%config(noreplace) %{php_ztsinidir}/%{ini_name} -%endif - - -%changelog -* Thu Dec 1 2016 Remi Collet - 3.0.4-3 -- rebuild with PHP 7.1.0 GA - -* Wed Sep 14 2016 Remi Collet - 3.0.4-2 -- rebuild for PHP 7.1 new API version - -* Thu Sep 1 2016 Remi Collet - 3.0.4-1 -- update to 3.0.4 - -* Sat Jul 2 2016 Remi Collet - 3.0.3-1 -- update to 3.0.3 -- drop patch merged upstream - -* Sat Jun 11 2016 Remi Collet - 3.0.2-3 -- add patch for PHP 7.1 - open https://github.com/laruence/yaf/pull/289 - -* Sun Mar 6 2016 Remi Collet - 3.0.2-2 -- adapt for F24 - -* Mon Dec 28 2015 Remi Collet - 3.0.2-1 -- update to 3.0.2 (beta, php 7) - -* Sun Dec 13 2015 Remi Collet - 3.0.1-1 -- update to 3.0.1 (beta, php 7) - -* Tue Oct 27 2015 Remi Collet - 3.0.0-1 -- update to 3.0.0 (php 7) - -* Tue Oct 13 2015 Remi Collet - 3.0.0-0.8.20150914gitaeb6457 -- rebuild for PHP 7.0.0RC5 new API version -- new snapshot - -* Sun Sep 6 2015 Remi Collet - 3.0.0-0.7.20150906git63222a2 -- new shapshot (changes from 2.3.5) - -* Thu Aug 13 2015 Remi Collet - 3.0.0-0.6.20150813git2dd49ab -- new shapshot - -* Fri Jul 24 2015 Remi Collet - 3.0.0-0.6.20150720git629d412 -- ignore 1 failed test on ZTS -- open https://github.com/laruence/php-yaf/issues/180 (1 failed on ZTS) - -* Wed Jul 22 2015 Remi Collet - 3.0.0-0.5.20150720git629d412 -- rebuild against php 7.0.0beta2 - -* Wed Jul 8 2015 Remi Collet - 3.0.0-0.4.20150701gitfb20f6c -- rebuild against php 7.0.0beta1 - -* Wed Jun 24 2015 Remi Collet - 3.0.0-0.3.20150618gita40f01e -- new snapshot -- rebuild for "rh_layout" - -* Wed Jun 17 2015 Remi Collet - 3.0.0-0.2.20150612gita1bd3ac -- rebuild - -* Fri Jun 12 2015 Remi Collet - 3.0.0-0.1.20150612gita1bd3ac -- Update to 3.0.0-dev for PHP 7 -- sources from github -- drop runtime dependency on pear, new scriptlets - -* Wed Dec 24 2014 Remi Collet - 2.3.3-1.1 -- Fedora 21 SCL mass rebuild - -* Sat Oct 25 2014 Remi Collet - 2.3.3-1 -- Update to 2.3.3 - -* Tue Aug 26 2014 Remi Collet - 2.3.2-4 -- improve SCL build - -* Thu Jun 26 2014 Remi Collet - 2.3.2-3 -- upstream patch for PHP 5.6 - -* Thu Apr 17 2014 Remi Collet - 2.3.2-2 -- add numerical prefix to extension configuration file (php 5.6) - -* Thu Jan 09 2014 Remi Collet - 2.3.2-1 -- Update to 2.3.2 (beta) - -* Wed Jan 08 2014 Remi Collet - 2.3.1-1 -- Update to 2.3.1 (beta) - -* Wed Jan 08 2014 Remi Collet - 2.3.0-1 -- Update to 2.3.0 (beta) -- install doc in pecl doc_dir -- install tests in pecl test_dir -- adapt for SCL -- add missing files from upstream git repo - https://github.com/laruence/php-yaf/issues/82 - -* Fri Jan 4 2013 Remi Collet - 2.2.9-1 -- version 2.2.9 (stable) - -* Tue Dec 18 2012 Remi Collet - 2.2.8-1 -- version 2.2.8 (stable) - -* Mon Nov 19 2012 Remi Collet - 2.2.7-1 -- version 2.2.7 (stable) - -* Thu Nov 1 2012 Remi Collet - 2.2.6-1 -- version 2.2.6 (stable) - -* Mon Oct 22 2012 Remi Collet - 2.2.5-1 -- version 2.2.5 (stable) -- LICENSE now provided by upstream - -* Tue Sep 4 2012 Remi Collet - 2.2.4-1 -- version 2.2.4 (beta) -- initial package diff --git a/php-pecl-yaf.spec b/php-pecl-yaf.spec index f3742e5..af4873a 100644 --- a/php-pecl-yaf.spec +++ b/php-pecl-yaf.spec @@ -7,35 +7,35 @@ # Please, preserve the changelog entries # %if 0%{?scl:1} -%if "%{scl}" == "rh-php56" -%global sub_prefix more-php56- -%else %global sub_prefix %{scl_prefix} -%endif +%scl_package php-pecl-yaf %endif -%{?scl: %scl_package php-pecl-yaf} - -%global with_zts 0%{?__ztsphp:1} -%global pecl_name yaf -%if "%{php_version}" < "5.6" -%global ini_name %{pecl_name}.ini -%else -%global ini_name 40-%{pecl_name}.ini -%endif +%global gh_commit 51e458e9746d7061efc565d49baaca26feacd7ff +%global gh_short %(c=%{gh_commit}; echo ${c:0:7}) +%global gh_owner laruence +%global gh_project yaf +#global gh_date 20150914 +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +%global pecl_name yaf +%global ini_name 40-%{pecl_name}.ini Summary: Yet Another Framework Name: %{?sub_prefix}php-pecl-yaf -Version: 2.3.5 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 3.0.4 +%if 0%{?gh_date:1} +Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz +%else +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +%endif License: PHP Group: Development/Languages URL: http://pecl.php.net/package/yaf -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz Source1: %{pecl_name}.ini -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildRequires: %{?scl_prefix}php-devel >= 5.2.0 +BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: pcre-devel @@ -47,8 +47,10 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff @@ -56,13 +58,15 @@ Obsoletes: php53-pecl-%{pecl_name} <= %{version} Obsoletes: php53u-pecl-%{pecl_name} <= %{version} Obsoletes: php54-pecl-%{pecl_name} <= %{version} Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} <= %{version} Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} +Obsoletes: php70u-pecl-%{pecl_name} <= %{version} +Obsoletes: php70w-pecl-%{pecl_name} <= %{version} +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-%{pecl_name} <= %{version} +Obsoletes: php71w-pecl-%{pecl_name} <= %{version} %endif %endif @@ -81,8 +85,13 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep -%setup -q -c +%setup -qc +%if 0%{?gh_date:1} +mv %{gh_project}-%{gh_commit} NTS +mv NTS/package.xml . +%else mv %{pecl_name}-%{version} NTS +%endif # Don't install/register tests sed -e 's/role="test"/role="src"/' \ @@ -90,10 +99,11 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS + # Sanity check, really often broken extver=$(sed -n '/#define PHP_YAF_VERSION/{s/.*\t"//;s/".*$//;p}' php_yaf.h ) -if test "x${extver}" != "x%{version}"; then - : Error: Upstream extension version is ${extver}, expecting %{version}. +if test "x${extver}" != "x%{version}%{?gh_date:-dev}"; then + : Error: Upstream extension version is ${extver}, expecting %{version}%{?gh_date:-dev}. exit 1 fi cd .. @@ -119,7 +129,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} # Install the NTS stuff make -C NTS install INSTALL_ROOT=%{buildroot} install -D -m 644 %{SOURCE1} %{buildroot}%{php_inidir}/%{ini_name} @@ -140,6 +149,8 @@ done %check +sed -e 's/Catchable/%s/' -i ?TS/tests/022.phpt + cd NTS : Minimal load test for NTS extension %{__php} --no-php-ini \ @@ -151,10 +162,13 @@ TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php +%{__php} -n run-tests.php --show-diff %if %{with_zts} cd ../ZTS +# https://github.com/laruence/php-yaf/issues/180 +rm tests/016.phpt + : Minimal load test for ZTS extension %{__ztsphp} --no-php-ini \ --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ @@ -165,7 +179,7 @@ TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php +%{__ztsphp} -n run-tests.php --show-diff %endif @@ -189,12 +203,7 @@ fi %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -209,17 +218,65 @@ rm -rf %{buildroot} %changelog -* Wed Mar 9 2016 Remi Collet - 2.3.5-2 +* Thu Dec 1 2016 Remi Collet - 3.0.4-3 +- rebuild with PHP 7.1.0 GA + +* Wed Sep 14 2016 Remi Collet - 3.0.4-2 +- rebuild for PHP 7.1 new API version + +* Thu Sep 1 2016 Remi Collet - 3.0.4-1 +- update to 3.0.4 + +* Sat Jul 2 2016 Remi Collet - 3.0.3-1 +- update to 3.0.3 +- drop patch merged upstream + +* Sat Jun 11 2016 Remi Collet - 3.0.2-3 +- add patch for PHP 7.1 + open https://github.com/laruence/yaf/pull/289 + +* Sun Mar 6 2016 Remi Collet - 3.0.2-2 - adapt for F24 -* Sun Sep 6 2015 Remi Collet - 2.3.5-1 -- Update to 2.3.5 +* Mon Dec 28 2015 Remi Collet - 3.0.2-1 +- update to 3.0.2 (beta, php 7) + +* Sun Dec 13 2015 Remi Collet - 3.0.1-1 +- update to 3.0.1 (beta, php 7) + +* Tue Oct 27 2015 Remi Collet - 3.0.0-1 +- update to 3.0.0 (php 7) + +* Tue Oct 13 2015 Remi Collet - 3.0.0-0.8.20150914gitaeb6457 +- rebuild for PHP 7.0.0RC5 new API version +- new snapshot + +* Sun Sep 6 2015 Remi Collet - 3.0.0-0.7.20150906git63222a2 +- new shapshot (changes from 2.3.5) + +* Thu Aug 13 2015 Remi Collet - 3.0.0-0.6.20150813git2dd49ab +- new shapshot + +* Fri Jul 24 2015 Remi Collet - 3.0.0-0.6.20150720git629d412 +- ignore 1 failed test on ZTS +- open https://github.com/laruence/php-yaf/issues/180 (1 failed on ZTS) + +* Wed Jul 22 2015 Remi Collet - 3.0.0-0.5.20150720git629d412 +- rebuild against php 7.0.0beta2 + +* Wed Jul 8 2015 Remi Collet - 3.0.0-0.4.20150701gitfb20f6c +- rebuild against php 7.0.0beta1 + +* Wed Jun 24 2015 Remi Collet - 3.0.0-0.3.20150618gita40f01e +- new snapshot +- rebuild for "rh_layout" -* Thu Aug 13 2015 Remi Collet - 2.3.4-1 -- Update to 2.3.4 +* Wed Jun 17 2015 Remi Collet - 3.0.0-0.2.20150612gita1bd3ac +- rebuild -* Wed Jun 24 2015 Remi Collet - 2.3.3-2 -- allow build against rh-php56 (as more-php56) +* Fri Jun 12 2015 Remi Collet - 3.0.0-0.1.20150612gita1bd3ac +- Update to 3.0.0-dev for PHP 7 +- sources from github - drop runtime dependency on pear, new scriptlets * Wed Dec 24 2014 Remi Collet - 2.3.3-1.1 -- cgit