summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION1114
-rw-r--r--php-phalcon5.spec62
3 files changed, 769 insertions, 411 deletions
diff --git a/PHPINFO b/PHPINFO
index 5ca51f0..ca61254 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -5,8 +5,8 @@ phalcon
Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.
phalcon => enabled
Author => Phalcon Team and contributors
-Version => 5.2.2
-Build Date => Jun 19 2023 00:00:00
+Version => 5.2.3
+Build Date => Jul 27 2023 00:00:00
Powered by Zephir => Version 0.17.0-$Id$
Directive => Local Value => Master Value
diff --git a/REFLECTION b/REFLECTION
index 16c933c..20f6ccf 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
+Extension [ <persistent> extension #119 phalcon version 5.2.3 ] {
- Dependencies {
Dependency [ pdo (Required) ]
@@ -68,7 +68,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
- - Classes [616] {
+ - Classes [618] {
Interface [ <internal:phalcon> interface Phalcon\Di\InjectionAwareInterface ] {
- Constants [0] {
@@ -206,7 +206,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
- Interface [ <internal:phalcon> interface Phalcon\Support\Collection\CollectionInterface ] {
+ Interface [ <internal:phalcon> interface Phalcon\Storage\Adapter\AdapterInterface ] {
- Constants [0] {
}
@@ -220,121 +220,97 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Properties [0] {
}
- - Methods [14] {
- Method [ <internal:phalcon> abstract public method __get ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> string $element ]
- }
- }
-
- Method [ <internal:phalcon> abstract public method __isset ] {
+ - Methods [11] {
+ Method [ <internal:phalcon> abstract public method clear ] {
- - Parameters [1] {
- Parameter #0 [ <required> string $element ]
+ - Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:phalcon> abstract public method __set ] {
+ Method [ <internal:phalcon> abstract public method decrement ] {
- Parameters [2] {
- Parameter #0 [ <required> string $element ]
- Parameter #1 [ <required> $value ]
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
}
- - Return [ void ]
}
- Method [ <internal:phalcon> abstract public method __unset ] {
+ Method [ <internal:phalcon> abstract public method delete ] {
- Parameters [1] {
- Parameter #0 [ <required> string $element ]
+ Parameter #0 [ <required> string $key ]
}
- - Return [ void ]
+ - Return [ bool ]
}
- Method [ <internal:phalcon> abstract public method clear ] {
+ Method [ <internal:phalcon> abstract public method get ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> $defaultValue = <default> ]
}
- - Return [ void ]
}
- Method [ <internal:phalcon> abstract public method get ] {
+ Method [ <internal:phalcon> abstract public method getAdapter ] {
- - Parameters [3] {
- Parameter #0 [ <required> string $element ]
- Parameter #1 [ <optional> $defaultValue = <default> ]
- Parameter #2 [ <optional> ?string $cast = <default> ]
+ - Parameters [0] {
}
}
Method [ <internal:phalcon> abstract public method getKeys ] {
- Parameters [1] {
- Parameter #0 [ <optional> bool $insensitive = <default> ]
+ Parameter #0 [ <optional> string $prefix = <default> ]
}
- Return [ array ]
}
- Method [ <internal:phalcon> abstract public method getValues ] {
+ Method [ <internal:phalcon> abstract public method getPrefix ] {
- Parameters [0] {
}
- - Return [ array ]
+ - Return [ string ]
}
Method [ <internal:phalcon> abstract public method has ] {
- Parameters [1] {
- Parameter #0 [ <required> string $element ]
+ Parameter #0 [ <required> string $key ]
}
- Return [ bool ]
}
- Method [ <internal:phalcon> abstract public method init ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> array $data = [] ]
- }
- - Return [ void ]
- }
-
- Method [ <internal:phalcon> abstract public method remove ] {
+ Method [ <internal:phalcon> abstract public method increment ] {
- - Parameters [1] {
- Parameter #0 [ <required> string $element ]
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
}
- - Return [ void ]
}
Method [ <internal:phalcon> abstract public method set ] {
- - Parameters [2] {
- Parameter #0 [ <required> string $element ]
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $ttl = <default> ]
}
- - Return [ void ]
- }
-
- Method [ <internal:phalcon> abstract public method toArray ] {
-
- - Parameters [0] {
- }
- - Return [ array ]
+ - Return [ bool ]
}
- Method [ <internal:phalcon> abstract public method toJson ] {
+ Method [ <internal:phalcon> abstract public method setForever ] {
- - Parameters [1] {
- Parameter #0 [ <optional> int $options = <default> ]
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> $value ]
}
- - Return [ string ]
+ - Return [ bool ]
}
}
}
- Interface [ <internal:phalcon> interface Phalcon\Storage\Adapter\AdapterInterface ] {
+ Interface [ <internal:phalcon> interface Phalcon\Support\Collection\CollectionInterface ] {
- Constants [0] {
}
@@ -348,92 +324,116 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Properties [0] {
}
- - Methods [11] {
- Method [ <internal:phalcon> abstract public method clear ] {
+ - Methods [14] {
+ Method [ <internal:phalcon> abstract public method __get ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> string $element ]
+ }
+ }
+
+ Method [ <internal:phalcon> abstract public method __isset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $element ]
}
- Return [ bool ]
}
- Method [ <internal:phalcon> abstract public method decrement ] {
+ Method [ <internal:phalcon> abstract public method __set ] {
- Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> int $value = <default> ]
+ Parameter #0 [ <required> string $element ]
+ Parameter #1 [ <required> $value ]
}
+ - Return [ void ]
}
- Method [ <internal:phalcon> abstract public method delete ] {
+ Method [ <internal:phalcon> abstract public method __unset ] {
- Parameters [1] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> string $element ]
}
- - Return [ bool ]
+ - Return [ void ]
}
- Method [ <internal:phalcon> abstract public method get ] {
+ Method [ <internal:phalcon> abstract public method clear ] {
- - Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> $defaultValue = <default> ]
+ - Parameters [0] {
}
+ - Return [ void ]
}
- Method [ <internal:phalcon> abstract public method getAdapter ] {
+ Method [ <internal:phalcon> abstract public method get ] {
- - Parameters [0] {
+ - Parameters [3] {
+ Parameter #0 [ <required> string $element ]
+ Parameter #1 [ <optional> $defaultValue = <default> ]
+ Parameter #2 [ <optional> ?string $cast = <default> ]
}
}
Method [ <internal:phalcon> abstract public method getKeys ] {
- Parameters [1] {
- Parameter #0 [ <optional> string $prefix = <default> ]
+ Parameter #0 [ <optional> bool $insensitive = <default> ]
}
- Return [ array ]
}
- Method [ <internal:phalcon> abstract public method getPrefix ] {
+ Method [ <internal:phalcon> abstract public method getValues ] {
- Parameters [0] {
}
- - Return [ string ]
+ - Return [ array ]
}
Method [ <internal:phalcon> abstract public method has ] {
- Parameters [1] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> string $element ]
}
- Return [ bool ]
}
- Method [ <internal:phalcon> abstract public method increment ] {
+ Method [ <internal:phalcon> abstract public method init ] {
- - Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> int $value = <default> ]
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $data = [] ]
}
+ - Return [ void ]
}
- Method [ <internal:phalcon> abstract public method set ] {
+ Method [ <internal:phalcon> abstract public method remove ] {
- - Parameters [3] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> $value ]
- Parameter #2 [ <optional> $ttl = <default> ]
+ - Parameters [1] {
+ Parameter #0 [ <required> string $element ]
}
- - Return [ bool ]
+ - Return [ void ]
}
- Method [ <internal:phalcon> abstract public method setForever ] {
+ Method [ <internal:phalcon> abstract public method set ] {
- Parameters [2] {
- Parameter #0 [ <required> string $key ]
+ Parameter #0 [ <required> string $element ]
Parameter #1 [ <required> $value ]
}
- - Return [ bool ]
+ - Return [ void ]
+ }
+
+ Method [ <internal:phalcon> abstract public method toArray ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:phalcon> abstract public method toJson ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $options = <default> ]
+ }
+ - Return [ string ]
}
}
}
@@ -1005,6 +1005,110 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
+ Interface [ <internal:phalcon> interface Phalcon\Cache\Adapter\AdapterInterface extends Phalcon\Storage\Adapter\AdapterInterface ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [11] {
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method decrement ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method delete ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method get ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> $defaultValue = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method getKeys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> string $prefix = <default> ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method getPrefix ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method has ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method increment ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method set ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $ttl = <default> ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method setForever ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
Interface [ <internal:phalcon> interface Phalcon\Config\ConfigInterface extends Phalcon\Support\Collection\CollectionInterface ] {
- Constants [0] {
@@ -1413,110 +1517,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
- Interface [ <internal:phalcon> interface Phalcon\Cache\Adapter\AdapterInterface extends Phalcon\Storage\Adapter\AdapterInterface ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [11] {
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method clear ] {
-
- - Parameters [0] {
- }
- - Return [ bool ]
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method decrement ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> int $value = <default> ]
- }
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method delete ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> string $key ]
- }
- - Return [ bool ]
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method get ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> $defaultValue = <default> ]
- }
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method getAdapter ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method getKeys ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> string $prefix = <default> ]
- }
- - Return [ array ]
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method getPrefix ] {
-
- - Parameters [0] {
- }
- - Return [ string ]
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method has ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> string $key ]
- }
- - Return [ bool ]
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method increment ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <optional> int $value = <default> ]
- }
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method set ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> $value ]
- Parameter #2 [ <optional> $ttl = <default> ]
- }
- - Return [ bool ]
- }
-
- Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AdapterInterface> abstract public method setForever ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> string $key ]
- Parameter #1 [ <required> $value ]
- }
- - Return [ bool ]
- }
- }
- }
-
Interface [ <internal:phalcon> interface Phalcon\Db\Adapter\AdapterInterface ] {
- Constants [0] {
@@ -12167,7 +12167,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
- Class [ <internal:phalcon> abstract class Phalcon\Di\Injectable implements Phalcon\Di\InjectionAwareInterface ] {
+ Class [ <internal:phalcon> abstract class Phalcon\Di\Injectable extends stdClass implements Phalcon\Di\InjectionAwareInterface ] {
- Constants [0] {
}
@@ -12508,72 +12508,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
- Class [ <internal:phalcon> abstract class Phalcon\Support\Helper\Str\AbstractStr ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [5] {
- Method [ <internal:phalcon> protected method toEndsWith ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> string $haystack ]
- Parameter #1 [ <required> string $needle ]
- Parameter #2 [ <optional> bool $ignoreCase = <default> ]
- }
- - Return [ bool ]
- }
-
- Method [ <internal:phalcon> protected method toInterpolate ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> string $input ]
- Parameter #1 [ <optional> array $context = [] ]
- Parameter #2 [ <optional> string $left = <default> ]
- Parameter #3 [ <optional> string $right = <default> ]
- }
- - Return [ string ]
- }
-
- Method [ <internal:phalcon> protected method toLower ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> string $text ]
- Parameter #1 [ <optional> string $encoding = <default> ]
- }
- - Return [ string ]
- }
-
- Method [ <internal:phalcon> protected method toStartsWith ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> string $haystack ]
- Parameter #1 [ <required> string $needle ]
- Parameter #2 [ <optional> bool $ignoreCase = <default> ]
- }
- - Return [ bool ]
- }
-
- Method [ <internal:phalcon> protected method toUpper ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> string $text ]
- Parameter #1 [ <optional> string $encoding = <default> ]
- }
- - Return [ string ]
- }
- }
- }
-
Class [ <internal:phalcon> abstract class Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] {
- Constants [0] {
@@ -12772,6 +12706,72 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
+ Class [ <internal:phalcon> abstract class Phalcon\Support\Helper\Str\AbstractStr ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [5] {
+ Method [ <internal:phalcon> protected method toEndsWith ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $haystack ]
+ Parameter #1 [ <required> string $needle ]
+ Parameter #2 [ <optional> bool $ignoreCase = <default> ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon> protected method toInterpolate ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $input ]
+ Parameter #1 [ <optional> array $context = [] ]
+ Parameter #2 [ <optional> string $left = <default> ]
+ Parameter #3 [ <optional> string $right = <default> ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon> protected method toLower ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $text ]
+ Parameter #1 [ <optional> string $encoding = <default> ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon> protected method toStartsWith ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $haystack ]
+ Parameter #1 [ <required> string $needle ]
+ Parameter #2 [ <optional> bool $ignoreCase = <default> ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon> protected method toUpper ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $text ]
+ Parameter #1 [ <optional> string $encoding = <default> ]
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
Class [ <internal:phalcon> <iterateable> class Phalcon\Support\Collection implements ArrayAccess, Phalcon\Support\Collection\CollectionInterface, Countable, IteratorAggregate, Traversable, JsonSerializable, Serializable ] {
- Constants [0] {
@@ -13816,7 +13816,14 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $strategy = NULL ]
}
- - Methods [34] {
+ - Methods [35] {
+ Method [ <internal:phalcon> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ]
+ }
+
Method [ <internal:phalcon, prototype Phalcon\Mvc\Model\MetaDataInterface> public method getAttributes ] {
- Parameters [1] {
@@ -23791,6 +23798,206 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
+ Class [ <internal:phalcon> class Phalcon\Storage\Adapter\Weak extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [9] {
+ Property [ protected $adapter = NULL ]
+ Property [ protected $defaultSerializer = 'php' ]
+ Property [ protected $lifetime = 3600 ]
+ Property [ protected $prefix = 'ph-memo-' ]
+ Property [ protected $serializer = NULL ]
+ Property [ protected $serializerFactory = NULL ]
+ Property [ protected $fetching = NULL ]
+ Property [ protected $weakList = NULL ]
+ Property [ protected $options = NULL ]
+ }
+
+ - Methods [22] {
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> Phalcon\Storage\SerializerFactory $factory ]
+ Parameter #1 [ <optional> array $options = [] ]
+ }
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method decrement ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method delete ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method getKeys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> string $prefix = <default> ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method increment ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method get ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> $defaultValue = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method has ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method set ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $ttl = <default> ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AdapterInterface, prototype Phalcon\Storage\Adapter\AdapterInterface> public method setForever ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AbstractAdapter> public method setDefaultSerializer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $serializer ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> public method getDefaultSerializer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method getPrefix ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method doGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getFilteredKeys ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $keys ]
+ Parameter #1 [ <required> string $prefix ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getPrefixedKey ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getSerializedData ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $content ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getTtl ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $ttl ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getUnserializedData ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $content ]
+ Parameter #1 [ <optional> $defaultValue = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method initSerializer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getArrVal ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> array $collection ]
+ Parameter #1 [ <required> $index ]
+ Parameter #2 [ <optional> $defaultValue = <default> ]
+ Parameter #3 [ <optional> ?string $cast = <default> ]
+ }
+ }
+ }
+ }
+
Class [ <internal:phalcon> class Phalcon\Storage\Serializer\Igbinary extends Phalcon\Storage\Serializer\AbstractSerializer implements Serializable, Phalcon\Storage\Serializer\SerializerInterface ] {
- Constants [0] {
@@ -28292,6 +28499,206 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
+ Class [ <internal:phalcon> class Phalcon\Cache\Adapter\Weak extends Phalcon\Storage\Adapter\Weak implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [9] {
+ Property [ protected $adapter = NULL ]
+ Property [ protected $defaultSerializer = 'php' ]
+ Property [ protected $lifetime = 3600 ]
+ Property [ protected $prefix = 'ph-memo-' ]
+ Property [ protected $serializer = NULL ]
+ Property [ protected $serializerFactory = NULL ]
+ Property [ protected $fetching = NULL ]
+ Property [ protected $weakList = NULL ]
+ Property [ protected $options = NULL ]
+ }
+
+ - Methods [22] {
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> Phalcon\Storage\SerializerFactory $factory ]
+ Parameter #1 [ <optional> array $options = [] ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method decrement ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method delete ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method getKeys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> string $prefix = <default> ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method increment ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $value = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method get ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> $defaultValue = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method has ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method set ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $ttl = <default> ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AdapterInterface> public method setForever ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\Weak, prototype Phalcon\Storage\Adapter\AbstractAdapter> public method setDefaultSerializer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $serializer ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> public method getDefaultSerializer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter, prototype Phalcon\Storage\Adapter\AdapterInterface> public method getPrefix ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method doGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getFilteredKeys ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $keys ]
+ Parameter #1 [ <required> string $prefix ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getPrefixedKey ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getSerializedData ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $content ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getTtl ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $ttl ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getUnserializedData ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $content ]
+ Parameter #1 [ <optional> $defaultValue = <default> ]
+ }
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method initSerializer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:phalcon, inherits Phalcon\Storage\Adapter\AbstractAdapter> protected method getArrVal ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> array $collection ]
+ Parameter #1 [ <required> $index ]
+ Parameter #2 [ <optional> $defaultValue = <default> ]
+ Parameter #3 [ <optional> ?string $cast = <default> ]
+ }
+ }
+ }
+ }
+
Class [ <internal:phalcon> class Phalcon\Cache\Cache extends Phalcon\Cache\AbstractCache implements Phalcon\Cache\CacheInterface ] {
- Constants [0] {
@@ -30663,7 +31070,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $pathDelimiter = '.' ]
}
- - Methods [35] {
+ - Methods [34] {
Method [ <internal:phalcon, overwrites Phalcon\Support\Collection, ctor> public method __construct ] {
- Parameters [1] {
@@ -30671,16 +31078,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
- Method [ <internal:phalcon> private method decode ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> string $data ]
- Parameter #1 [ <optional> bool $associative = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
- Parameter #3 [ <optional> int $options = <default> ]
- }
- }
-
Method [ <internal:phalcon, inherits Phalcon\Config\Config, prototype Phalcon\Config\ConfigInterface> public method getPathDelimiter ] {
- Parameters [0] {
@@ -32825,15 +33222,16 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Static methods [0] {
}
- - Properties [5] {
+ - Properties [6] {
Property [ protected $active = false ]
Property [ protected $context = NULL ]
Property [ protected $logFormat = '' ]
Property [ protected $logLevel = 0 ]
Property [ protected $logger = NULL ]
+ Property [ private $encode = NULL ]
}
- - Methods [11] {
+ - Methods [10] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [1] {
@@ -32909,16 +33307,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
- Return [ void ]
}
-
- Method [ <internal:phalcon> private method encode ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> int $options = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
- }
- - Return [ string ]
- }
}
}
@@ -40997,14 +41385,15 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Static methods [0] {
}
- - Properties [4] {
+ - Properties [5] {
Property [ private $claims = NULL ]
+ Property [ private $encode = NULL ]
Property [ private $jose = NULL ]
Property [ private $passphrase = NULL ]
Property [ private $signer = NULL ]
}
- - Methods [27] {
+ - Methods [26] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [1] {
@@ -41199,16 +41588,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
- Return [ string ]
}
-
- Method [ <internal:phalcon> private method encode ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> int $options = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
- }
- - Return [ string ]
- }
}
}
@@ -41608,10 +41987,18 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Static methods [0] {
}
- - Properties [0] {
+ - Properties [1] {
+ Property [ private $decode = NULL ]
}
- Methods [7] {
+ Method [ <internal:phalcon, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> ?Phalcon\Support\Helper\Json\Decode $decode = <default> ]
+ }
+ }
+
Method [ <internal:phalcon> public method parse ] {
- Parameters [1] {
@@ -41653,16 +42040,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Return [ array ]
}
- Method [ <internal:phalcon> private method decode ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> string $data ]
- Parameter #1 [ <optional> bool $associative = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
- Parameter #3 [ <optional> int $options = <default> ]
- }
- }
-
Method [ <internal:phalcon> private method decodeUrl ] {
- Parameters [1] {
@@ -60428,7 +60805,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Static methods [0] {
}
- - Properties [8] {
+ - Properties [9] {
Property [ protected $container = NULL ]
Property [ protected $content = NULL ]
Property [ protected $cookies = NULL ]
@@ -60437,9 +60814,10 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $headers = NULL ]
Property [ protected $sent = false ]
Property [ protected $statusCodes = NULL ]
+ Property [ private $encode = NULL ]
}
- - Methods [36] {
+ - Methods [35] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [3] {
@@ -60716,16 +61094,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
- Return [ string ]
}
-
- Method [ <internal:phalcon> private method encode ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> int $options = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
- }
- - Return [ string ]
- }
}
}
@@ -67217,7 +67585,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $strategy = NULL ]
}
- - Methods [34] {
+ - Methods [35] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [2] {
@@ -67226,6 +67594,13 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
+ Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ]
+ }
+
Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData, prototype Phalcon\Mvc\Model\MetaDataInterface> public method getAttributes ] {
- Parameters [1] {
@@ -67533,7 +67908,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $strategy = NULL ]
}
- - Methods [34] {
+ - Methods [35] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [2] {
@@ -67549,6 +67924,13 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Return [ void ]
}
+ Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ]
+ }
+
Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData, prototype Phalcon\Mvc\Model\MetaDataInterface> public method getAttributes ] {
- Parameters [1] {
@@ -67849,7 +68231,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $strategy = NULL ]
}
- - Methods [34] {
+ - Methods [35] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [1] {
@@ -67874,6 +68256,13 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Return [ void ]
}
+ Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ]
+ }
+
Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData, prototype Phalcon\Mvc\Model\MetaDataInterface> public method getAttributes ] {
- Parameters [1] {
@@ -68164,7 +68553,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $strategy = NULL ]
}
- - Methods [34] {
+ - Methods [35] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [2] {
@@ -68180,6 +68569,13 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Return [ void ]
}
+ Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ]
+ }
+
Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData, prototype Phalcon\Mvc\Model\MetaDataInterface> public method getAttributes ] {
- Parameters [1] {
@@ -68551,7 +68947,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
Property [ protected $metaDataDir = './' ]
}
- - Methods [35] {
+ - Methods [36] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [1] {
@@ -68584,6 +68980,13 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Return [ void ]
}
+ Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData> public method getAdapter ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ]
+ }
+
Method [ <internal:phalcon, inherits Phalcon\Mvc\Model\MetaData, prototype Phalcon\Mvc\Model\MetaDataInterface> public method getAttributes ] {
- Parameters [1] {
@@ -70528,7 +70931,7 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
}
- Class [ <internal:phalcon> class Phalcon\Mvc\Model\Row implements Phalcon\Mvc\EntityInterface, Phalcon\Mvc\Model\ResultInterface, ArrayAccess, JsonSerializable ] {
+ Class [ <internal:phalcon> class Phalcon\Mvc\Model\Row extends stdClass implements Phalcon\Mvc\EntityInterface, Phalcon\Mvc\Model\ResultInterface, ArrayAccess, JsonSerializable ] {
- Constants [0] {
}
@@ -75694,51 +76097,33 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Static methods [0] {
}
- - Properties [2] {
+ - Properties [4] {
Property [ protected $data = NULL ]
Property [ protected $isSuccess = true ]
+ Property [ private $decode = NULL ]
+ Property [ private $encode = NULL ]
}
- - Methods [11] {
- Method [ <internal:phalcon, overwrites Serializable, prototype Serializable> public method serialize ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:phalcon, overwrites Serializable, prototype Serializable> public method unserialize ] {
+ - Methods [9] {
+ Method [ <internal:phalcon, overwrites Phalcon\Storage\Serializer\AbstractSerializer, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <required> string $serialized ]
- }
- - Return [ void ]
- }
-
- Method [ <internal:phalcon> private method getDecode ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> string $data ]
- Parameter #1 [ <optional> bool $associative = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
- Parameter #3 [ <optional> int $options = <default> ]
+ Parameter #0 [ <optional> $data = <default> ]
}
}
- Method [ <internal:phalcon> private method getEncode ] {
+ Method [ <internal:phalcon, overwrites Serializable, prototype Serializable> public method serialize ] {
- - Parameters [3] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> int $options = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
+ - Parameters [0] {
}
- - Return [ string ]
}
- Method [ <internal:phalcon, inherits Phalcon\Storage\Serializer\AbstractSerializer, ctor> public method __construct ] {
+ Method [ <internal:phalcon, overwrites Serializable, prototype Serializable> public method unserialize ] {
- Parameters [1] {
- Parameter #0 [ <optional> $data = <default> ]
+ Parameter #0 [ <required> string $serialized ]
}
+ - Return [ void ]
}
Method [ <internal:phalcon, inherits Phalcon\Storage\Serializer\AbstractSerializer> public method __serialize ] {
@@ -77229,13 +77614,14 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
- Static methods [0] {
}
- - Properties [3] {
+ - Properties [4] {
Property [ protected $detailed = false ]
Property [ protected $methods = NULL ]
Property [ protected $styles = NULL ]
+ Property [ private $encode = NULL ]
}
- - Methods [12] {
+ - Methods [11] {
Method [ <internal:phalcon, ctor> public method __construct ] {
- Parameters [2] {
@@ -77324,16 +77710,6 @@ Extension [ <persistent> extension #118 phalcon version 5.2.2 ] {
}
- Return [ string ]
}
-
- Method [ <internal:phalcon> private method encode ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> int $options = <default> ]
- Parameter #2 [ <optional> int $depth = <default> ]
- }
- - Return [ string ]
- }
}
}
diff --git a/php-phalcon5.spec b/php-phalcon5.spec
index 9b238fd..e962940 100644
--- a/php-phalcon5.spec
+++ b/php-phalcon5.spec
@@ -7,24 +7,17 @@
# Please, preserve the changelog entries
#
-# we don't want -z defs linker flag
-%undefine _strict_symbol_defs_build
-
-%if 0%{?scl:1}
-%scl_package php-phalcon5
-%else
-%global pkg_name %{name}
-%endif
-
-%bcond_with tests
+%{?scl:%scl_package php-phalcon5}
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name phalcon
# after 40-json.ini, 20-pdo.ini
%global ini_name 50-%{pecl_name}.ini
-%global upstream_ver 5.2.2
+%global upstream_ver 5.2.3
#global upstream_pre RC4
#global upstream_low %%(echo %%{upstream_pre} | tr '[:upper:]' '[:lower:]')
+%global sources %{pecl_name}-%{upstream_ver}%{?upstream_pre}
+%global _configure ../%{sources}/configure
Name: %{?scl_prefix}php-phalcon5
Version: %{upstream_ver}%{?upstream_pre:~%{upstream_low}}
@@ -32,12 +25,12 @@ Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_
Summary: Phalcon Framework
License: BSD-3-Clause
-URL: https://pecl.php.net/package/phalcon
+URL: https://phalcon.io/
# when missing on pecl, generated from git
# git checkout v#.#.#
# ln -s build/phalcon/* .
# pecl package
-Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_ver}%{?upstream_pre}.tgz
+Source0: https://pecl.php.net/get/%{sources}.tgz
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.4.1
@@ -52,7 +45,6 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-hash%{?_isa}
Requires: %{?scl_prefix}php-json%{?_isa}
Requires: %{?scl_prefix}php-pdo%{?_isa}
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
Provides: %{?scl_prefix}php-phalcon = %{version}-%{release}
Provides: %{?scl_prefix}php-phalcon%{?_isa} = %{version}-%{release}
@@ -72,14 +64,12 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-# Don't provides php-composer(phalcon/cphalcon), not registered on packagist
-
%description
Phalcon is a web framework implemented as a C extension offering
high performance and lower resource consumption.
-Documentation: http://docs.phalconphp.com
+Documentation: https://docs.phalcon.io/
Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
@@ -89,9 +79,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}
-mv %{pecl_name}-%{upstream_ver}%{?upstream_pre} NTS
-
-cd NTS
+cd %{sources}
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_PHALCON_VERSION/{s/.* "//;s/".*$//;p}' php_phalcon.h)
if test "x${extver}" != "x%{upstream_ver}%{?upstream_pre:%{upstream_pre}}"; then
@@ -100,9 +88,9 @@ if test "x${extver}" != "x%{upstream_ver}%{?upstream_pre:%{upstream_pre}}"; then
fi
cd ..
+mkdir NTS
%if %{with_zts}
-# duplicate for ZTS build
-cp -pr NTS ZTS
+mkdir ZTS
%endif
# Create configuration file
@@ -143,17 +131,18 @@ peclconf() {
--with-php-config=$1
}
+cd %{sources}
+%{__phpize}
+
: Build NTS extension
-cd NTS
-%{_bindir}/phpize
-peclconf %{_bindir}/php-config
+cd ../NTS
+peclconf %{__phpconfig}
make %{?_smp_mflags}
%if %{with_zts}
: Build ZTS extension
cd ../ZTS
-%{_bindir}/zts-phpize
-peclconf %{_bindir}/zts-php-config
+peclconf %{__ztsphpconfig}
make %{?_smp_mflags}
%endif
@@ -176,7 +165,7 @@ install -Dpm644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
# 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
+do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
@@ -195,17 +184,6 @@ done
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep -i '^%{pecl_name}$'
-%if %{with tests}
-: Upstream test suite NTS extension
-cd build/NTS
-SKIP_ONLINE_TESTS=1 \
-TEST_PHP_EXECUTABLE=%{__php} \
-TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
-NO_INTERACTION=1 \
-REPORT_EXIT_STATUS=1 \
-%{__php} -n run-tests.php --show-diff
-%endif
-
%if %{with_zts}
: Minimal load test for ZTS extension
%{__ztsphp} --no-php-ini \
@@ -236,7 +214,7 @@ fi
%files
-%{?_licensedir:%license NTS/LICENSE.txt}
+%{?_licensedir:%license %{sources}/LICENSE.txt}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -252,6 +230,10 @@ fi
%changelog
+* Thu Jul 27 2023 Remi Collet <remi@remirepo.net> - 5.2.3-1
+- update to 5.2.3
+- build out of sources tree
+
* Mon Jun 19 2023 Remi Collet <remi@remirepo.net> - 5.2.2-1
- update to 5.2.2