diff options
-rw-r--r-- | 0001-remove-trailing-space.patch | 25 | ||||
-rw-r--r-- | 0002-relax-test-expectations-for-8.4.patch | 34 | ||||
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 1484 | ||||
-rw-r--r-- | php-pecl-yaf.spec | 184 | ||||
-rw-r--r-- | yaf-upstream.patch | 62 |
6 files changed, 1281 insertions, 510 deletions
diff --git a/0001-remove-trailing-space.patch b/0001-remove-trailing-space.patch new file mode 100644 index 0000000..69f8efe --- /dev/null +++ b/0001-remove-trailing-space.patch @@ -0,0 +1,25 @@ +From 6553d00c0d103b1abe530c9dfdc2e37a6f8875f9 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 1 Oct 2024 12:00:16 +0200 +Subject: [PATCH] remove trailing space + +--- + config.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.m4 b/config.m4 +index 73f8097..68f14fa 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -56,7 +56,7 @@ if test "$PHP_YAF" != "no"; then + routes/yaf_route_simple.c \ + routes/yaf_route_supervar.c \ + routes/yaf_route_regex.c \ +- routes/yaf_route_rewrite.c \ ++ routes/yaf_route_rewrite.c \ + routes/yaf_route_map.c \ + yaf_loader.c \ + yaf_registry.c \ +-- +2.46.2 + diff --git a/0002-relax-test-expectations-for-8.4.patch b/0002-relax-test-expectations-for-8.4.patch new file mode 100644 index 0000000..977d26d --- /dev/null +++ b/0002-relax-test-expectations-for-8.4.patch @@ -0,0 +1,34 @@ +From 5ddaa82f4c43eeac372b8c1ebe606ebff43829a8 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 1 Oct 2024 12:04:15 +0200 +Subject: [PATCH 2/2] relax test expectations for 8.4 + +--- + tests/038.phpt | 2 +- + tests/039.phpt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/038.phpt b/tests/038.phpt +index 0a28166..603a75e 100755 +--- a/tests/038.phpt ++++ b/tests/038.phpt +@@ -34,4 +34,4 @@ require "build.inc"; + shutdown(); + ?> + --EXPECTF-- +-Parse error: syntax error, unexpected %s}%c in %sfoo.phtml on line %d +\ No newline at end of file ++Parse error: syntax error, unexpected %s in %sfoo.phtml on line %d +diff --git a/tests/039.phpt b/tests/039.phpt +index bac421d..2564aa9 100755 +--- a/tests/039.phpt ++++ b/tests/039.phpt +@@ -45,4 +45,4 @@ require "build.inc"; + shutdown(); + ?> + --EXPECTF-- +-syntax error, unexpected %s}%c ++syntax error, unexpected %s +-- +2.46.2 + @@ -2,7 +2,7 @@ yaf yaf support => enabled -Version => 3.3.1 +Version => 3.3.6 Supports => http://pecl.php.net/package/yaf Directive => Local Value => Master Value @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #121 yaf version 3.3.1 ] { +Extension [ <persistent> extension #98 yaf version 3.3.6 ] { - Dependencies { Dependency [ spl (Required) ] @@ -37,7 +37,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Constants [13] { - Constant [ string YAF_VERSION ] { 3.3.1 } + Constant [ string YAF_VERSION ] { 3.3.6 } Constant [ string YAF_ENVIRON ] { product } Constant [ int YAF_ERR_STARTUP_FAILED ] { 512 } Constant [ int YAF_ERR_ROUTE_FAILED ] { 513 } @@ -61,23 +61,31 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Static properties [0] { } - - Static methods [1] { + - Static methods [2] { Method [ <internal:yaf> static public method app ] { - Parameters [0] { } + - Return [ ?object ] + } + + Method [ <internal:yaf> static public method getInstance ] { + + - Parameters [0] { + } + - Return [ ?object ] } } - Properties [0] { } - - Methods [14] { + - Methods [13] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $config ] - Parameter #1 [ <optional> $environ ] + Parameter #0 [ <required> array|string $config ] + Parameter #1 [ <optional> string $environ = NULL ] } } @@ -85,82 +93,86 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ object|false ] } Method [ <internal:yaf> public method execute ] { - - Parameters [2] { - Parameter #0 [ <required> $entry ] - Parameter #1 [ <required> $... ] + - Parameters [1] { + Parameter #0 [ <required> mixed $callback ] } + - Return [ mixed ] } Method [ <internal:yaf> public method environ ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method bootstrap ] { - - Parameters [1] { - Parameter #0 [ <optional> $bootstrap ] + - Parameters [0] { } + - Return [ object|false|null ] } Method [ <internal:yaf> public method getConfig ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getModules ] { - Parameters [0] { } + - Return [ ?array ] } Method [ <internal:yaf> public method getDispatcher ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method setAppDirectory ] { - Parameters [1] { - Parameter #0 [ <required> $directory ] + Parameter #0 [ <required> string $directory ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method getAppDirectory ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getLastErrorNo ] { - Parameters [0] { } + - Return [ ?int ] } Method [ <internal:yaf> public method getLastErrorMsg ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method clearLastError ] { - Parameters [0] { } - } - - Method [ <internal:yaf> public method getInstance ] { - - - Parameters [0] { - } + - Return [ ?object ] } } } @@ -196,6 +208,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ ?object ] } } @@ -213,161 +226,185 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method disableView ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method initView ] { - Parameters [2] { - Parameter #0 [ <required> $templates_dir ] - Parameter #1 [ <optional> array or NULL $options ] + Parameter #0 [ <required> string $templates_dir ] + Parameter #1 [ <optional> array $options = NULL ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method setView ] { - Parameters [1] { - Parameter #0 [ <required> $view ] + Parameter #0 [ <required> object $view ] } + - Return [ ?object ] } Method [ <internal:yaf> public method setRequest ] { - Parameters [1] { - Parameter #0 [ <required> $request ] + Parameter #0 [ <required> object $request ] } + - Return [ ?object ] } Method [ <internal:yaf> public method setResponse ] { - Parameters [1] { - Parameter #0 [ <required> $response ] + Parameter #0 [ <required> object $response ] } + - Return [ ?object ] } Method [ <internal:yaf> public method getApplication ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getRouter ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getResponse ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getRequest ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getDefaultModule ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getDefaultController ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getDefaultAction ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method setErrorHandler ] { - Parameters [2] { - Parameter #0 [ <required> $callback ] - Parameter #1 [ <optional> $error_types ] + Parameter #0 [ <required> mixed $callback ] + Parameter #1 [ <optional> int $error_types = 0 ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method setDefaultModule ] { - Parameters [1] { - Parameter #0 [ <required> $module ] + Parameter #0 [ <required> string $module ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method setDefaultController ] { - Parameters [1] { - Parameter #0 [ <required> $controller ] + Parameter #0 [ <required> string $controller ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method setDefaultAction ] { - Parameters [1] { - Parameter #0 [ <required> $action ] + Parameter #0 [ <required> string $action ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method returnResponse ] { - Parameters [1] { - Parameter #0 [ <required> $flag ] + Parameter #0 [ <optional> bool $flag = false ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method autoRender ] { - Parameters [1] { - Parameter #0 [ <optional> $flag ] + Parameter #0 [ <optional> ?bool $flag = NULL ] } + - Return [ object|bool|null ] } Method [ <internal:yaf> public method flushInstantly ] { - Parameters [1] { - Parameter #0 [ <optional> $flag ] + Parameter #0 [ <optional> ?bool $flag = NULL ] } + - Return [ object|bool|null ] } Method [ <internal:yaf> public method dispatch ] { - Parameters [1] { - Parameter #0 [ <required> $request ] + Parameter #0 [ <required> object $request ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method throwException ] { - Parameters [1] { - Parameter #0 [ <optional> $flag ] + Parameter #0 [ <optional> ?bool $flag = NULL ] } + - Return [ object|bool|null ] } Method [ <internal:yaf> public method catchException ] { - Parameters [1] { - Parameter #0 [ <optional> $flag ] + Parameter #0 [ <optional> ?bool $flag = NULL ] } + - Return [ object|bool|null ] } Method [ <internal:yaf> public method registerPlugin ] { - Parameters [1] { - Parameter #0 [ <required> $plugin ] + Parameter #0 [ <required> object $plugin ] } + - Return [ object|false|null ] } } } @@ -384,8 +421,8 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf> static public method getInstance ] { - Parameters [2] { - Parameter #0 [ <optional> $local_library_path ] - Parameter #1 [ <optional> $global_library_path ] + Parameter #0 [ <optional> $local_library_path = <default> ] + Parameter #1 [ <optional> $global_library_path = <default> ] } } @@ -418,7 +455,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $namespace ] - Parameter #1 [ <optional> $path ] + Parameter #1 [ <optional> $path = <default> ] } } @@ -452,14 +489,14 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $library_path ] - Parameter #1 [ <optional> $is_global ] + Parameter #1 [ <optional> $is_global = <default> ] } } Method [ <internal:yaf> public method getLibraryPath ] { - Parameters [1] { - Parameter #0 [ <optional> $is_global ] + Parameter #0 [ <optional> $is_global = <default> ] } } @@ -467,7 +504,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $namespace ] - Parameter #1 [ <optional> $path ] + Parameter #1 [ <optional> $path = <default> ] } } @@ -500,264 +537,303 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isPost ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isDelete ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isPatch ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isPut ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isHead ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isOptions ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isCli ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method isXmlHttpRequest ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method getQuery ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method getRequest ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method getPost ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method getCookie ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method getRaw ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getFiles ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method get ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method getServer ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method getEnv ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method setParam ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <optional> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <optional> mixed $value = NULL ] } + - Return [ object|bool|null ] } Method [ <internal:yaf> public method getParam ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method getParams ] { - Parameters [0] { } + - Return [ ?array ] } Method [ <internal:yaf> public method clearParams ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getException ] { - Parameters [0] { } + - Return [ ?Exception ] } Method [ <internal:yaf> public method getModuleName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getControllerName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getActionName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method setModuleName ] { - Parameters [2] { - Parameter #0 [ <required> $module ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $module ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf> public method setControllerName ] { - Parameters [2] { - Parameter #0 [ <required> $controller ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $controller ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf> public method setActionName ] { - Parameters [2] { - Parameter #0 [ <required> $action ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $action ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf> public method getMethod ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getLanguage ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method setBaseUri ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uir ] } + - Return [ object|false ] } Method [ <internal:yaf> public method getBaseUri ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getRequestUri ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method setRequestUri ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uir ] } + - Return [ ?object ] } Method [ <internal:yaf> final public method isDispatched ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> final public method setDispatched ] { - Parameters [1] { - Parameter #0 [ <required> $dispatched ] + Parameter #0 [ <optional> bool $flag = true ] } + - Return [ ?object ] } Method [ <internal:yaf> final public method isRouted ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> final public method setRouted ] { - Parameters [1] { - Parameter #0 [ <required> $flag ] + Parameter #0 [ <optional> bool $flag = true ] } + - Return [ ?object ] } } } @@ -780,8 +856,8 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [2] { - Parameter #0 [ <optional> $request_uri ] - Parameter #1 [ <optional> $base_uri ] + Parameter #0 [ <optional> ?string $requestUri = NULL ] + Parameter #1 [ <optional> ?string $baseUri = NULL ] } } @@ -789,264 +865,303 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isPost ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isDelete ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isPatch ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isPut ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isHead ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isOptions ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isCli ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isXmlHttpRequest ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getQuery ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getRequest ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getPost ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getCookie ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getRaw ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getFiles ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method get ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getServer ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getEnv ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setParam ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <optional> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <optional> mixed $value = NULL ] } + - Return [ object|bool|null ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getParam ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getParams ] { - Parameters [0] { } + - Return [ ?array ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method clearParams ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getException ] { - Parameters [0] { } + - Return [ ?Exception ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getModuleName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getControllerName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getActionName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setModuleName ] { - Parameters [2] { - Parameter #0 [ <required> $module ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $module ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setControllerName ] { - Parameters [2] { - Parameter #0 [ <required> $controller ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $controller ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setActionName ] { - Parameters [2] { - Parameter #0 [ <required> $action ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $action ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getMethod ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getLanguage ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setBaseUri ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uir ] } + - Return [ object|false ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getBaseUri ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getRequestUri ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setRequestUri ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uir ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method isDispatched ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method setDispatched ] { - Parameters [1] { - Parameter #0 [ <required> $dispatched ] + Parameter #0 [ <optional> bool $flag = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method isRouted ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method setRouted ] { - Parameters [1] { - Parameter #0 [ <required> $flag ] + Parameter #0 [ <optional> bool $flag = true ] } + - Return [ ?object ] } } } @@ -1071,11 +1186,11 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [5] { - Parameter #0 [ <optional> $method ] - Parameter #1 [ <optional> $module ] - Parameter #2 [ <optional> $controller ] - Parameter #3 [ <optional> $action ] - Parameter #4 [ <optional> $params ] + Parameter #0 [ <optional> ?string $method = NULL ] + Parameter #1 [ <optional> ?string $module = NULL ] + Parameter #2 [ <optional> ?string $controller = NULL ] + Parameter #3 [ <optional> ?string $action = NULL ] + Parameter #4 [ <optional> ?array $params = NULL ] } } @@ -1083,269 +1198,308 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isGet ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isPost ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isDelete ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isPatch ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isPut ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isHead ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isOptions ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method isCli ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getQuery ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getRequest ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getPost ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getCookie ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getRaw ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getFiles ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method get ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getServer ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getEnv ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <optional> string $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setParam ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <optional> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <optional> mixed $value = NULL ] } + - Return [ object|bool|null ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getParam ] { - Parameters [2] { - Parameter #0 [ <optional> $name ] - Parameter #1 [ <optional> $default ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getParams ] { - Parameters [0] { } + - Return [ ?array ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method clearParams ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getException ] { - Parameters [0] { } + - Return [ ?Exception ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getModuleName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getControllerName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getActionName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setModuleName ] { - Parameters [2] { - Parameter #0 [ <required> $module ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $module ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setControllerName ] { - Parameters [2] { - Parameter #0 [ <required> $controller ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $controller ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setActionName ] { - Parameters [2] { - Parameter #0 [ <required> $action ] - Parameter #1 [ <optional> $format_name ] + Parameter #0 [ <required> string $action ] + Parameter #1 [ <optional> bool $format_name = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getMethod ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getLanguage ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setBaseUri ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uir ] } + - Return [ object|false ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getBaseUri ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method getRequestUri ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> public method setRequestUri ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uir ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method isDispatched ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method setDispatched ] { - Parameters [1] { - Parameter #0 [ <required> $dispatched ] + Parameter #0 [ <optional> bool $flag = true ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method isRouted ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Request_Abstract> final public method setRouted ] { - Parameters [1] { - Parameter #0 [ <required> $flag ] + Parameter #0 [ <optional> bool $flag = true ] } + - Return [ ?object ] } } } - Class [ <internal:yaf> abstract class Yaf_Response_Abstract ] { + Class [ <internal:yaf> abstract class Yaf_Response_Abstract implements Stringable ] { - Constants [1] { Constant [ public string DEFAULT_BODY ] { content } @@ -1367,17 +1521,18 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } } - Method [ <internal:yaf> public method __toString ] { + Method [ <internal:yaf, prototype Stringable> public method __toString ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:yaf> public method setBody ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } @@ -1385,7 +1540,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } @@ -1393,22 +1548,23 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } Method [ <internal:yaf> public method clearBody ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> $name = NULL ] } } Method [ <internal:yaf> public method getBody ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method response ] { @@ -1419,7 +1575,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } } - Class [ <internal:yaf> class Yaf_Response_Http extends Yaf_Response_Abstract ] { + Class [ <internal:yaf> class Yaf_Response_Http extends Yaf_Response_Abstract implements Stringable ] { - Constants [1] { Constant [ public string DEFAULT_BODY ] { content } @@ -1438,44 +1594,50 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf> public method setHeader ] { - Parameters [4] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] - Parameter #2 [ <optional> $rep ] - Parameter #3 [ <optional> $response_code ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> string $value ] + Parameter #2 [ <optional> bool $replace = 0 ] + Parameter #3 [ <optional> int $response_code = 0 ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method setAllHeaders ] { - Parameters [1] { - Parameter #0 [ <required> $headers ] + Parameter #0 [ <required> array $headers ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method getHeader ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method clearHeaders ] { - Parameters [0] { } + - Return [ object|false|null ] } Method [ <internal:yaf> public method setRedirect ] { - Parameters [1] { - Parameter #0 [ <required> $url ] + Parameter #0 [ <required> string $url ] } + - Return [ ?bool ] } Method [ <internal:yaf, overwrites Yaf_Response_Abstract, prototype Yaf_Response_Abstract> public method response ] { - Parameters [0] { } + - Return [ ?bool ] } Method [ <internal:yaf, inherits Yaf_Response_Abstract, ctor> public method __construct ] { @@ -1484,17 +1646,18 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } } - Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method __toString ] { + Method [ <internal:yaf, inherits Yaf_Response_Abstract, prototype Stringable> public method __toString ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method setBody ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } @@ -1502,7 +1665,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } @@ -1510,27 +1673,28 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method clearBody ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> $name = NULL ] } } Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method getBody ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ mixed ] } } } - Class [ <internal:yaf> class Yaf_Response_Cli extends Yaf_Response_Abstract ] { + Class [ <internal:yaf> class Yaf_Response_Cli extends Yaf_Response_Abstract implements Stringable ] { - Constants [1] { Constant [ public string DEFAULT_BODY ] { content } @@ -1552,17 +1716,18 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } } - Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method __toString ] { + Method [ <internal:yaf, inherits Yaf_Response_Abstract, prototype Stringable> public method __toString ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method setBody ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } @@ -1570,7 +1735,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } @@ -1578,22 +1743,23 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> $body ] - Parameter #1 [ <optional> $name ] + Parameter #1 [ <optional> $name = NULL ] } } Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method clearBody ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> $name = NULL ] } } Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method getBody ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Response_Abstract> public method response ] { @@ -1621,108 +1787,118 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Methods [15] { Method [ <internal:yaf, ctor> public method __construct ] { - - Parameters [4] { - Parameter #0 [ <required> $request ] - Parameter #1 [ <required> $response ] - Parameter #2 [ <required> $view ] - Parameter #3 [ <optional> array or NULL $args ] + - Parameters [0] { } } Method [ <internal:yaf> protected method render ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> array or NULL $parameters ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> array $parameters = NULL ] } + - Return [ string|bool|null ] } Method [ <internal:yaf> protected method display ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> array or NULL $parameters ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> array $parameters = NULL ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method getRequest ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getResponse ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getView ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method getModuleName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method initView ] { - Parameters [1] { - Parameter #0 [ <optional> array or NULL $options ] + Parameter #0 [ <optional> array $options = NULL ] } + - Return [ ?object ] } Method [ <internal:yaf> public method setViewpath ] { - Parameters [1] { - Parameter #0 [ <required> $view_directory ] + Parameter #0 [ <required> string $view_directory ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method getViewpath ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method forward ] { - Parameters [4] { - Parameter #0 [ <required> $module ] - Parameter #1 [ <optional> $controller ] - Parameter #2 [ <optional> $action ] - Parameter #3 [ <optional> array or NULL $parameters ] + Parameter #0 [ <required> mixed $args1 ] + Parameter #1 [ <optional> mixed $args2 = NULL ] + Parameter #2 [ <optional> mixed $args3 = NULL ] + Parameter #3 [ <optional> mixed $args4 = NULL ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method redirect ] { - Parameters [1] { - Parameter #0 [ <required> $url ] + Parameter #0 [ <required> string $url ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method getInvokeArgs ] { - Parameters [0] { } + - Return [ ?array ] } Method [ <internal:yaf> public method getInvokeArg ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ ?string ] } } } @@ -1739,7 +1915,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [1] { - Property [ <default> protected $_controller ] + Property [ protected $_controller = NULL ] } - Methods [18] { @@ -1753,118 +1929,130 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf> public method getControllerName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract, ctor> public method __construct ] { - - Parameters [4] { - Parameter #0 [ <required> $request ] - Parameter #1 [ <required> $response ] - Parameter #2 [ <required> $view ] - Parameter #3 [ <optional> array or NULL $args ] + - Parameters [0] { } } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> protected method render ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> array or NULL $parameters ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> array $parameters = NULL ] } + - Return [ string|bool|null ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> protected method display ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> array or NULL $parameters ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> array $parameters = NULL ] } + - Return [ ?bool ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getRequest ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getResponse ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getView ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getModuleName ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method initView ] { - Parameters [1] { - Parameter #0 [ <optional> array or NULL $options ] + Parameter #0 [ <optional> array $options = NULL ] } + - Return [ ?object ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method setViewpath ] { - Parameters [1] { - Parameter #0 [ <required> $view_directory ] + Parameter #0 [ <required> string $view_directory ] } + - Return [ ?bool ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getViewpath ] { - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method forward ] { - Parameters [4] { - Parameter #0 [ <required> $module ] - Parameter #1 [ <optional> $controller ] - Parameter #2 [ <optional> $action ] - Parameter #3 [ <optional> array or NULL $parameters ] + Parameter #0 [ <required> mixed $args1 ] + Parameter #1 [ <optional> mixed $args2 = NULL ] + Parameter #2 [ <optional> mixed $args3 = NULL ] + Parameter #3 [ <optional> mixed $args4 = NULL ] } + - Return [ ?bool ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method redirect ] { - Parameters [1] { - Parameter #0 [ <required> $url ] + Parameter #0 [ <required> string $url ] } + - Return [ ?bool ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getInvokeArgs ] { - Parameters [0] { } + - Return [ ?array ] } Method [ <internal:yaf, inherits Yaf_Controller_Abstract> public method getInvokeArg ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ ?string ] } } } @@ -1887,107 +2075,123 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf> public method get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> ?string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, prototype Countable> public method count ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal:yaf> public method toArray ] { - Parameters [0] { } + - Return [ array ] } Method [ <internal:yaf, prototype ArrayAccess> public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ void ] } Method [ <internal:yaf, prototype Iterator> public method rewind ] { - Parameters [0] { } + - Return [ void ] } Method [ <internal:yaf, prototype Iterator> public method current ] { - Parameters [0] { } + - Return [ mixed ] } Method [ <internal:yaf, prototype Iterator> public method key ] { - Parameters [0] { } + - Return [ string|int|bool|null ] } Method [ <internal:yaf, prototype Iterator> public method next ] { - Parameters [0] { } + - Return [ void ] } Method [ <internal:yaf, prototype Iterator> public method valid ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf> public method __isset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ bool ] } Method [ <internal:yaf> public method __get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ mixed ] } Method [ <internal:yaf, prototype ArrayAccess> public method offsetGet ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ mixed ] } Method [ <internal:yaf, prototype ArrayAccess> public method offsetExists ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ bool ] } Method [ <internal:yaf, prototype ArrayAccess> abstract public method offsetSet ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } Method [ <internal:yaf> abstract public method set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ bool ] } Method [ <internal:yaf> abstract public method readonly ] { - Parameters [0] { } + - Return [ bool ] } } } @@ -2010,123 +2214,140 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $config_file ] - Parameter #1 [ <optional> $section ] + Parameter #0 [ <required> array|string $config_file ] + Parameter #1 [ <optional> ?string $section = NULL ] } } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype Yaf_Config_Abstract> public method get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> ?string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype Yaf_Config_Abstract> public method set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ bool ] } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype Yaf_Config_Abstract> public method readonly ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype ArrayAccess> public method offsetGet ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ mixed ] } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype ArrayAccess> public method offsetSet ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } Method [ <internal:yaf> public method __set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Countable> public method count ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract> public method toArray ] { - Parameters [0] { } + - Return [ array ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype ArrayAccess> public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ void ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method rewind ] { - Parameters [0] { } + - Return [ void ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method current ] { - Parameters [0] { } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method key ] { - Parameters [0] { } + - Return [ string|int|bool|null ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method next ] { - Parameters [0] { } + - Return [ void ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method valid ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract> public method __isset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract> public method __get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype ArrayAccess> public method offsetExists ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ bool ] } } } @@ -2149,123 +2370,140 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $config ] - Parameter #1 [ <optional> $readonly ] + Parameter #0 [ <required> array|string $config_file ] + Parameter #1 [ <optional> ?string $section = NULL ] } } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype Yaf_Config_Abstract> public method set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ bool ] } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype Yaf_Config_Abstract> public method readonly ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype ArrayAccess> public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ void ] } Method [ <internal:yaf> public method __set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } Method [ <internal:yaf, overwrites Yaf_Config_Abstract, prototype ArrayAccess> public method offsetSet ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract> public method get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> ?string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Countable> public method count ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract> public method toArray ] { - Parameters [0] { } + - Return [ array ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method rewind ] { - Parameters [0] { } + - Return [ void ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method current ] { - Parameters [0] { } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method key ] { - Parameters [0] { } + - Return [ string|int|bool|null ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method next ] { - Parameters [0] { } + - Return [ void ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype Iterator> public method valid ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract> public method __isset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ bool ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract> public method __get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype ArrayAccess> public method offsetGet ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ mixed ] } Method [ <internal:yaf, inherits Yaf_Config_Abstract, prototype ArrayAccess> public method offsetExists ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ bool ] } } } @@ -2288,38 +2526,37 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf> abstract public method assign ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <optional> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> mixed $value = NULL ] } } Method [ <internal:yaf> abstract public method display ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> $tpl_vars ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> array $tpl_vars = NULL ] } } Method [ <internal:yaf> abstract public method render ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> $tpl_vars ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> array $tpl_vars = NULL ] } } Method [ <internal:yaf> abstract public method setScriptPath ] { - Parameters [1] { - Parameter #0 [ <required> $template_dir ] + Parameter #0 [ <required> string $template_dir ] } } Method [ <internal:yaf> abstract public method getScriptPath ] { - - Parameters [1] { - Parameter #0 [ <optional> $request ] + - Parameters [0] { } } } @@ -2343,92 +2580,102 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> final public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $template_dir ] - Parameter #1 [ <optional> array or NULL $options ] + Parameter #0 [ <required> string $tempalte_dir ] + Parameter #1 [ <optional> array $options = NULL ] } } Method [ <internal:yaf> public method get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf, prototype Yaf_View_Interface> public method assign ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <optional> $value ] + Parameter #0 [ <optional> mixed $name = NULL ] + Parameter #1 [ <optional> mixed $default = NULL ] } + - Return [ object|false|null ] } Method [ <internal:yaf, prototype Yaf_View_Interface> public method render ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> $tpl_vars ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> ?array $tpl_vars = NULL ] } + - Return [ string|false|null ] } Method [ <internal:yaf> public method eval ] { - Parameters [2] { - Parameter #0 [ <required> $tpl_str ] - Parameter #1 [ <optional> $vars ] + Parameter #0 [ <required> string $tpl_str ] + Parameter #1 [ <optional> ?array $vars = NULL ] } + - Return [ string|false|null ] } Method [ <internal:yaf, prototype Yaf_View_Interface> public method display ] { - Parameters [2] { - Parameter #0 [ <required> $tpl ] - Parameter #1 [ <optional> $tpl_vars ] + Parameter #0 [ <required> string $tpl ] + Parameter #1 [ <optional> ?array $tpl_vars = NULL ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method assignRef ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> &$value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed &$value ] } + - Return [ ?object ] } Method [ <internal:yaf> public method clear ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ ?object ] } Method [ <internal:yaf, prototype Yaf_View_Interface> public method setScriptPath ] { - Parameters [1] { - Parameter #0 [ <required> $template_dir ] + Parameter #0 [ <required> string $template_dir ] } + - Return [ object|bool|null ] } Method [ <internal:yaf, prototype Yaf_View_Interface> public method getScriptPath ] { - - Parameters [1] { - Parameter #0 [ <optional> $request ] + - Parameters [0] { } + - Return [ ?string ] } Method [ <internal:yaf> public method __get ] { - Parameters [1] { - Parameter #0 [ <optional> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method __set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <optional> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } } } @@ -2457,42 +2704,48 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf> public method addRoute ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $route ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> object $route ] } + - Return [ ?object ] } Method [ <internal:yaf> public method addConfig ] { - Parameters [1] { - Parameter #0 [ <required> $config ] + Parameter #0 [ <required> object|array $config ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method route ] { - Parameters [1] { - Parameter #0 [ <required> $request ] + Parameter #0 [ <required> object $request ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method getRoute ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ object|false|null ] } Method [ <internal:yaf> public method getRoutes ] { - Parameters [0] { } + - Return [ ?array ] } Method [ <internal:yaf> public method getCurrentRoute ] { - Parameters [0] { } + - Return [ string|int|null ] } } } @@ -2523,7 +2776,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> array $info ] - Parameter #1 [ <optional> array or NULL $query ] + Parameter #1 [ <optional> array $query = NULL ] } } } @@ -2547,8 +2800,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf> public method match ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uri ] } + - Return [ bool ] } Method [ <internal:yaf, prototype Yaf_Route_Interface> public method route ] { @@ -2562,8 +2816,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> array $info ] - Parameter #1 [ <optional> array or NULL $query ] + Parameter #1 [ <optional> array $query = NULL ] } + - Return [ string|false|null ] } } } @@ -2586,9 +2841,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <required> $module_name ] - Parameter #1 [ <required> $controller_name ] - Parameter #2 [ <required> $action_name ] + Parameter #0 [ <required> string $module_name ] + Parameter #1 [ <required> string $controller_name ] + Parameter #2 [ <required> string $action_name ] } } @@ -2603,8 +2858,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> array $info ] - Parameter #1 [ <optional> array or NULL $query ] + Parameter #1 [ <optional> array $query = NULL ] } + - Return [ string|false|null ] } } } @@ -2627,7 +2883,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [1] { - Parameter #0 [ <required> $supervar_name ] + Parameter #0 [ <required> string $supervar_name ] } } @@ -2642,8 +2898,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> array $info ] - Parameter #1 [ <optional> array or NULL $query ] + Parameter #1 [ <optional> array $query = NULL ] } + - Return [ string|false|null ] } } } @@ -2666,17 +2923,18 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <required> $match ] + Parameter #0 [ <required> string $match ] Parameter #1 [ <required> array $route ] - Parameter #2 [ <optional> array or NULL $verify ] + Parameter #2 [ <optional> array $verify = NULL ] } } Method [ <internal:yaf> public method match ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uri ] } + - Return [ ?bool ] } Method [ <internal:yaf, prototype Yaf_Route_Interface> public method route ] { @@ -2690,8 +2948,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> array $info ] - Parameter #1 [ <optional> array or NULL $query ] + Parameter #1 [ <optional> array $query = NULL ] } + - Return [ string|false|null ] } } } @@ -2714,19 +2973,20 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [5] { - Parameter #0 [ <required> $match ] + Parameter #0 [ <required> string $match ] Parameter #1 [ <required> array $route ] - Parameter #2 [ <optional> array or NULL $map ] - Parameter #3 [ <optional> array or NULL $verify ] - Parameter #4 [ <optional> $reverse ] + Parameter #2 [ <optional> array $map = NULL ] + Parameter #3 [ <optional> array $verify = NULL ] + Parameter #4 [ <optional> string $reverse = NULL ] } } Method [ <internal:yaf> public method match ] { - Parameters [1] { - Parameter #0 [ <required> $uri ] + Parameter #0 [ <required> string $uri ] } + - Return [ ?bool ] } Method [ <internal:yaf, prototype Yaf_Route_Interface> public method route ] { @@ -2740,8 +3000,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> array $info ] - Parameter #1 [ <optional> array or NULL $query ] + Parameter #1 [ <optional> array $query = NULL ] } + - Return [ string|false|null ] } } } @@ -2764,8 +3025,8 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf, ctor> public method __construct ] { - Parameters [2] { - Parameter #0 [ <optional> $controller_prefer ] - Parameter #1 [ <optional> $delimiter ] + Parameter #0 [ <optional> bool $controller_prefer = 1 ] + Parameter #1 [ <optional> string $delimiter = "" ] } } @@ -2780,8 +3041,9 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [2] { Parameter #0 [ <required> array $info ] - Parameter #1 [ <optional> array or NULL $query ] + Parameter #1 [ <optional> array $query = NULL ] } + - Return [ string|false|null ] } } } @@ -2871,30 +3133,34 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { Method [ <internal:yaf> static public method get ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ mixed ] } Method [ <internal:yaf> static public method has ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ ?bool ] } Method [ <internal:yaf> static public method set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ ?bool ] } Method [ <internal:yaf> static public method del ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ ?bool ] } } @@ -2923,6 +3189,7 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ ?object ] } } @@ -2940,125 +3207,160 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { - Parameters [0] { } + - Return [ object ] } Method [ <internal:yaf> public method get ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <optional> string $name = NULL ] } + - Return [ mixed ] } Method [ <internal:yaf> public method has ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ ?bool ] } Method [ <internal:yaf> public method del ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ ?bool ] } Method [ <internal:yaf, prototype Countable> public method count ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal:yaf> public method clear ] { - Parameters [0] { } + - Return [ object|false|null ] } Method [ <internal:yaf, prototype ArrayAccess> public method offsetGet ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ mixed ] } Method [ <internal:yaf, prototype ArrayAccess> public method offsetSet ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> mixed $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } Method [ <internal:yaf, prototype ArrayAccess> public method offsetExists ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ bool ] } - Method [ <internal:yaf, prototype ArrayAccess> public method offsetUnset ] { + Method [ <internal:yaf, prototype ArrayAccess> public method offsetUnSet ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> mixed $name ] } + - Return [ void ] } Method [ <internal:yaf> public method __get ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ mixed ] } Method [ <internal:yaf> public method __isset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ bool ] } Method [ <internal:yaf> public method __set ] { - Parameters [2] { - Parameter #0 [ <required> $name ] - Parameter #1 [ <required> $value ] + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> mixed $value ] } + - Return [ void ] } Method [ <internal:yaf> public method __unset ] { - Parameters [1] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] } + - Return [ void ] } Method [ <internal:Core, inherits Iterator> abstract public method current ] { + + - Parameters [0] { + } + - Tentative return [ mixed ] } Method [ <internal:Core, inherits Iterator> abstract public method next ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Iterator> abstract public method key ] { + + - Parameters [0] { + } + - Tentative return [ mixed ] } Method [ <internal:Core, inherits Iterator> abstract public method valid ] { + + - Parameters [0] { + } + - Tentative return [ bool ] } Method [ <internal:Core, inherits Iterator> abstract public method rewind ] { + + - Parameters [0] { + } + - Tentative return [ void ] } } } - Class [ <internal:yaf> class Yaf_Exception extends Exception implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception extends Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -3070,53 +3372,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_StartupError extends Yaf_Exception implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_StartupError extends Yaf_Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -3128,53 +3465,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_RouterFailed extends Yaf_Exception implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_RouterFailed extends Yaf_Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -3186,53 +3558,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_DispatchFailed extends Yaf_Exception implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_DispatchFailed extends Yaf_Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -3244,53 +3651,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_LoadFailed extends Yaf_Exception implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_LoadFailed extends Yaf_Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -3302,53 +3744,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_LoadFailed_Module extends Yaf_Exception_LoadFailed implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_LoadFailed_Module extends Yaf_Exception_LoadFailed implements Throwable, Stringable ] { - Constants [0] { } @@ -3360,53 +3837,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_LoadFailed_Controller extends Yaf_Exception_LoadFailed implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_LoadFailed_Controller extends Yaf_Exception_LoadFailed implements Throwable, Stringable ] { - Constants [0] { } @@ -3418,53 +3930,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_LoadFailed_Action extends Yaf_Exception_LoadFailed implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_LoadFailed_Action extends Yaf_Exception_LoadFailed implements Throwable, Stringable ] { - Constants [0] { } @@ -3476,53 +4023,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_LoadFailed_View extends Yaf_Exception_LoadFailed implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_LoadFailed_View extends Yaf_Exception_LoadFailed implements Throwable, Stringable ] { - Constants [0] { } @@ -3534,53 +4116,88 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ <internal:yaf> class Yaf_Exception_TypeError extends Yaf_Exception implements Throwable ] { + Class [ <internal:yaf> class Yaf_Exception_TypeError extends Yaf_Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -3592,48 +4209,83 @@ Extension [ <persistent> extension #121 yaf version 3.3.1 ] { } - Properties [5] { - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $previous ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ protected $message = NULL ] + Property [ protected $code = 0 ] + Property [ protected $previous = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } diff --git a/php-pecl-yaf.spec b/php-pecl-yaf.spec index fd4a34b..3600747 100644 --- a/php-pecl-yaf.spec +++ b/php-pecl-yaf.spec @@ -1,43 +1,39 @@ # remirepo spec file for php-pecl-yaf # -# Copyright (c) 2012-2021 Remi Collet +# Copyright (c) 2012-2024 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -# we don't want -z defs linker flag -%undefine _strict_symbol_defs_build +%{?scl:%scl_package php-pecl-yaf} -%if 0%{?scl:1} -%global sub_prefix %{scl_prefix} -%scl_package php-pecl-yaf -%endif +%bcond_without tests %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 +%global sources %{pecl_name}-%{version} +%global _configure ../%{sources}/configure Summary: Yet Another Framework -Name: %{?sub_prefix}php-pecl-yaf -Version: 3.3.1 -%if 0%{?gh_date:1} -Release: 0.12.%{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: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -Source: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -%endif -License: PHP +Name: %{?scl_prefix}php-pecl-yaf +Version: 3.3.6 +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +License: PHP-3.01 URL: https://pecl.php.net/package/yaf +Source0: https://pecl.php.net/get/%{sources}%{?prever}.tgz Source1: %{pecl_name}.ini +Patch0: %{pecl_name}-upstream.patch +Patch1: 0001-remove-trailing-space.patch +Patch2: 0002-relax-test-expectations-for-8.4.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 @@ -48,29 +44,11 @@ BuildRequires: %{?scl_prefix}php-json 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 "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -%if "%{php_version}" > "7.3" -Obsoletes: php73-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.4" -Obsoletes: php74-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.0" -Obsoletes: php80-pecl-%{pecl_name} <= %{version} -%endif -%endif %description @@ -82,47 +60,49 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %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"/' } \ + -e '/LICENSE/s/role="doc"/role="src"/' \ -i package.xml -cd NTS +cd %{sources} +%patch -P0 -p1 +%patch -P1 -p1 +%patch -P2 -p1 # 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}. +if test "x${extver}" != "x%{version}"; then + : Error: Upstream extension version is ${extver}, expecting %{version}. exit 1 fi cd .. +mkdir NTS %if %{with_zts} -# duplicate for ZTS build -cp -pr NTS ZTS +mkdir ZTS %endif %build %{?dtsenable} -cd NTS -%{_bindir}/phpize -%configure --with-php-config=%{_bindir}/php-config -make %{?_smp_mflags} +export CFLAGS="%{optflags} -Wno-duplicate-decl-specifier" + +cd %{sources} +%{__phpize} +[ -f Makefile.global ] && GLOBAL=Makefile.global || GLOBAL=build/Makefile.global +sed -e 's/INSTALL_ROOT/DESTDIR/' -i $GLOBAL + +cd ../NTS +%configure --with-php-config=%{__phpconfig} +%make_build %if %{with_zts} cd ../ZTS -%{_bindir}/zts-phpize -%configure --with-php-config=%{_bindir}/zts-php-config -make %{?_smp_mflags} +%configure --with-php-config=%{__ztsphpconfig} +%make_build %endif @@ -130,12 +110,12 @@ make %{?_smp_mflags} %{?dtsenable} # Install the NTS stuff -make -C NTS install INSTALL_ROOT=%{buildroot} +%make_install -C NTS install -D -m 644 %{SOURCE1} %{buildroot}%{php_inidir}/%{ini_name} # Install the ZTS stuff %if %{with_zts} -make -C ZTS install INSTALL_ROOT=%{buildroot} +%make_install -C ZTS install -D -m 644 %{SOURCE1} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif @@ -143,67 +123,41 @@ install -D -m 644 %{SOURCE1} %{buildroot}%{php_ztsinidir}/%{ini_name} 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 +cd %{sources} +for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') +do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done %check +cd %{sources} + OPTS="-n" [ -f %{php_extdir}/json.so ] && OPTS="$OPTS -d extension=json.so" -cd NTS : Minimal load test for NTS extension %{__php} --no-php-ini \ --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ --modules | grep '^%{pecl_name}$' +%if %{with tests} : Upstream test suite for NTS extension TEST_PHP_EXECUTABLE=%{__php} \ -TEST_PHP_ARGS="$OPTS -d extension=$PWD/modules/%{pecl_name}.so" \ -NO_INTERACTION=1 \ +TEST_PHP_ARGS="$OPTS -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php --show-diff +%{__php} -n run-tests.php -q --show-diff +%endif %if %{with_zts} -cd ../ZTS - : 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="$OPTS -d extension=$PWD/modules/%{pecl_name}.so" \ -NO_INTERACTION=1 \ -REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php --show-diff -%endif - - -%if 0%{?fedora} < 24 && 0%{?rhel} < 8 -# 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} +%license %{sources}/LICENSE %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -217,6 +171,50 @@ fi %changelog +* Tue Oct 1 2024 Remi Collet <remi@remirepo.net> - 3.3.6-3 +- fix PHP 8.4 build using patch from + https://github.com/laruence/yaf/pull/594 + +* Wed Jul 10 2024 Remi Collet <remi@remirepo.net> - 3.3.6-2 +- add upstream patch for PHP 8.4 + +* Mon Jul 1 2024 Remi Collet <remi@remirepo.net> - 3.3.6-1 +- update to 3.3.6 +- drop patch merged upstream + +* Mon Feb 19 2024 Remi Collet <remi@remirepo.net> - 3.3.5-4 +- add patch for PHP 7.4 from + https://github.com/laruence/yaf/pull/579 + +* Thu Sep 14 2023 Remi Collet <remi@remirepo.net> - 3.3.5-3 +- add patch for PHP 8.3 from + https://github.com/laruence/yaf/pull/579 +- build out of sources tree + +* Mon Sep 19 2022 Remi Collet <remi@remirepo.net> - 3.3.5-2 +- add patch for PHP 8.2 from + https://github.com/laruence/yaf/pull/579 + +* Mon May 23 2022 Remi Collet <remi@remirepo.net> - 3.3.5-1 +- update to 3.3.5 + +* Thu Dec 16 2021 Remi Collet <remi@remirepo.net> - 3.3.4-1 +- update to 3.3.4 +- drop patch merged upstream + +* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 3.3.3-3 +- rebuild for 8.1.0RC1 + +* Wed Jul 21 2021 Remi Collet <remi@remirepo.net> - 3.3.3-2 +- add patch for PHP 8.1.0beta1 from + https://github.com/laruence/yaf/pull/548 + +* Thu Jul 1 2021 Remi Collet <remi@remirepo.net> - 3.3.3-1 +- update to 3.3.3 + +* Fri Mar 5 2021 Remi Collet <remi@remirepo.net> - 3.3.2-1 +- update to 3.3.2 + * Sun Feb 21 2021 Remi Collet <remi@remirepo.net> - 3.3.1-1 - update to 3.3.1 diff --git a/yaf-upstream.patch b/yaf-upstream.patch new file mode 100644 index 0000000..0b40a13 --- /dev/null +++ b/yaf-upstream.patch @@ -0,0 +1,62 @@ +From b1d252c944a8d70f0dc28415b3d67a7b3bbbf7ce Mon Sep 17 00:00:00 2001 +From: Xinchen Hui <laruence@gmail.com> +Date: Tue, 25 Jun 2024 11:39:59 +0800 +Subject: [PATCH] Fixed build with trunk(8.4) + +--- + routes/yaf_route_regex.c | 9 ++++++++- + routes/yaf_route_rewrite.c | 9 ++++++++- + 2 files changed, 16 insertions(+), 2 deletions(-) + +diff --git a/routes/yaf_route_regex.c b/routes/yaf_route_regex.c +index 45410804..9dd0e2fe 100644 +--- a/routes/yaf_route_regex.c ++++ b/routes/yaf_route_regex.c +@@ -204,13 +204,20 @@ static int yaf_route_regex_match(yaf_route_regex_object *regex, const char *uri, + #if PHP_VERSION_ID < 70400 + php_pcre_match_impl(pce_regexp, (char*)uri, len, &matches, &subparts /* subpats */, + 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); +-#else ++#elif PHP_VERSION_ID < 80400 + { + zend_string *tmp = zend_string_init(uri, len, 0); + php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, + 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); + zend_string_release(tmp); + } ++#else ++ { ++ zend_string *tmp = zend_string_init(uri, len, 0); ++ php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, ++ 0/* global */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); ++ zend_string_release(tmp); ++ } + #endif + + if (!zend_hash_num_elements(Z_ARRVAL(subparts))) { +diff --git a/routes/yaf_route_rewrite.c b/routes/yaf_route_rewrite.c +index 716ae6fd..b7b4200a 100644 +--- a/routes/yaf_route_rewrite.c ++++ b/routes/yaf_route_rewrite.c +@@ -209,13 +209,20 @@ static int yaf_route_rewrite_match(yaf_route_rewrite_object *rewrite, const char + #if PHP_VERSION_ID < 70400 + php_pcre_match_impl(pce_regexp, (char*)uri, len, &matches, &subparts /* subpats */, + 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); +-#else ++#elif PHP_VERSION_ID <80400 + { + zend_string *tmp = zend_string_init(uri, len, 0); + php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, + 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); + zend_string_release(tmp); + } ++#else ++ { ++ zend_string *tmp = zend_string_init(uri, len, 0); ++ php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, ++ 0/* global */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); ++ zend_string_release(tmp); ++ } + #endif + + if (!zend_hash_num_elements(Z_ARRVAL(subparts))) { |