From 04806beb662398b90c8a6c4c5b624d010c6db368 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 10 Jul 2024 08:44:49 +0200 Subject: update to 5.8.0 --- PHPINFO | 4 +- REFLECTION | 710 +++++++++++++++++++++++++++++++++++++++++------------- php-phalcon5.spec | 29 +-- 3 files changed, 545 insertions(+), 198 deletions(-) diff --git a/PHPINFO b/PHPINFO index fbc005f..431fe29 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.7.0 -Build Date => May 19 2024 00:00:00 +Version => 5.8.0 +Build Date => Jul 10 2024 00:00:00 Powered by Zephir => Version 0.18.0-$Id$ Directive => Local Value => Master Value diff --git a/REFLECTION b/REFLECTION index e015f4c..26c02b6 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #100 phalcon version 5.7.0 ] { +Extension [ extension #104 phalcon version 5.8.0 ] { - Dependencies { Dependency [ pdo (Required) ] @@ -74,7 +74,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - - Classes [617] { + - Classes [616] { Interface [ interface Phalcon\Di\InjectionAwareInterface ] { - Constants [0] { @@ -107,6 +107,38 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } + Interface [ interface Phalcon\Events\EventsAwareInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ abstract public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ abstract public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + } + } + Interface [ interface Phalcon\Filter\Validation\ValidatorInterface ] { - Constants [0] { @@ -180,38 +212,6 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Interface [ interface Phalcon\Events\EventsAwareInterface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [2] { - Method [ abstract public method getEventsManager ] { - - - Parameters [0] { - } - - Return [ ?Phalcon\Events\ManagerInterface ] - } - - Method [ abstract public method setEventsManager ] { - - - Parameters [1] { - Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] - } - - Return [ void ] - } - } - } - Interface [ interface Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { @@ -4855,7 +4855,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Return [ string ] } - Method [ abstract public method __toString ] { + Method [ abstract public method __toString ] { - Parameters [0] { } @@ -4893,7 +4893,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Return [ string ] } - Method [ abstract public method __toString ] { + Method [ abstract public method __toString ] { - Parameters [0] { } @@ -7786,7 +7786,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } - Methods [11] { - Method [ abstract public method __toString ] { + Method [ abstract public method __toString ] { - Parameters [0] { } @@ -10328,7 +10328,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ abstract public method getPaths ] { @@ -12522,7 +12522,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Class [ abstract class Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ abstract class Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface ] { - Constants [0] { } @@ -12533,7 +12533,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [7] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] @@ -12541,9 +12541,11 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Property [ protected $prefix = 'ph-memo-' ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] } - - Methods [22] { + - Methods [25] { Method [ protected method __construct ] { - Parameters [2] { @@ -12709,6 +12711,30 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } + Method [ abstract public method setForever ] { - Parameters [2] { @@ -12966,7 +12992,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toArray ] { @@ -12987,7 +13013,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -13629,7 +13655,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toJson ] { @@ -13643,7 +13669,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -20519,7 +20545,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method destroy ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ bool ] } @@ -20527,7 +20553,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method gc ] { - Parameters [1] { - Parameter #0 [ int $maxlifetime ] + Parameter #0 [ int $max_lifetime ] } - Return [ int|false ] } @@ -20535,7 +20561,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method read ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ string ] } @@ -20783,7 +20809,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Class [ abstract class Phalcon\Cache\AbstractCache implements Phalcon\Cache\CacheInterface ] { + Class [ abstract class Phalcon\Cache\AbstractCache implements Phalcon\Cache\CacheInterface, Phalcon\Events\EventsAwareInterface ] { - Constants [0] { } @@ -20794,11 +20820,12 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [1] { + - Properties [2] { Property [ protected $adapter = NULL ] + Property [ protected $eventsManager = NULL ] } - - Methods [21] { + - Methods [24] { Method [ public method __construct ] { - Parameters [1] { @@ -20813,6 +20840,21 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Return [ Phalcon\Cache\Adapter\AdapterInterface ] } + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + Method [ protected method checkKey ] { - Parameters [1] { @@ -20896,6 +20938,15 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Return [ bool ] } + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } + Method [ abstract protected method getExceptionClass ] { - Parameters [0] { @@ -22998,7 +23049,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method destroy ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ bool ] } @@ -23006,7 +23057,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method gc ] { - Parameters [1] { - Parameter #0 [ int $maxlifetime ] + Parameter #0 [ int $max_lifetime ] } - Return [ int|false ] } @@ -23014,7 +23065,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method read ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ string ] } @@ -23047,7 +23098,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Class [ class Phalcon\Storage\Adapter\Apcu extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ class Phalcon\Storage\Adapter\Apcu extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { } @@ -23058,17 +23109,19 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [7] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] Property [ protected $prefix = 'ph-apcu-' ] } - - Methods [29] { + - Methods [32] { Method [ public method __construct ] { - Parameters [2] { @@ -23295,10 +23348,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Storage\Adapter\Libmemcached extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ class Phalcon\Storage\Adapter\Libmemcached extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { } @@ -23309,17 +23386,19 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [7] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] Property [ protected $prefix = 'ph-memc-' ] } - - Methods [26] { + - Methods [29] { Method [ public method __construct ] { - Parameters [2] { @@ -23529,10 +23608,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Storage\Adapter\Memory extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ class Phalcon\Storage\Adapter\Memory extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { } @@ -23543,7 +23646,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [8] { + - Properties [10] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] @@ -23551,10 +23654,12 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Property [ protected $prefix = 'ph-memo-' ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] Property [ protected $data = NULL ] } - - Methods [22] { + - Methods [25] { Method [ public method __construct ] { - Parameters [2] { @@ -23728,10 +23833,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Storage\Adapter\Redis extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ class Phalcon\Storage\Adapter\Redis extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { } @@ -23742,17 +23871,19 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [7] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] Property [ protected $prefix = 'ph-reds-' ] } - - Methods [26] { + - Methods [29] { Method [ public method __construct ] { - Parameters [2] { @@ -23958,10 +24089,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Storage\Adapter\Stream extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ class Phalcon\Storage\Adapter\Stream extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { } @@ -23972,18 +24127,20 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [8] { + - Properties [10] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] Property [ protected $prefix = 'ph-strm' ] Property [ protected $storageDir = '' ] } - - Methods [36] { + - Methods [39] { Method [ public method __construct ] { - Parameters [2] { @@ -24271,10 +24428,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Storage\Adapter\Weak extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ class Phalcon\Storage\Adapter\Weak extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { } @@ -24285,19 +24466,21 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [9] { + - Properties [11] { 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 $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] Property [ protected $fetching = NULL ] Property [ protected $weakList = NULL ] Property [ protected $options = NULL ] } - - Methods [22] { + - Methods [25] { Method [ public method __construct ] { - Parameters [2] { @@ -24471,6 +24654,30 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } @@ -24889,7 +25096,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Method [ public method __toString ] { + Method [ public method __toString ] { - Parameters [0] { } @@ -25049,7 +25256,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Method [ public method __toString ] { + Method [ public method __toString ] { - Parameters [0] { } @@ -27891,7 +28098,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Class [ class Phalcon\Cache\Adapter\Apcu extends Phalcon\Storage\Adapter\Apcu implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Apcu extends Phalcon\Storage\Adapter\Apcu implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -27902,17 +28109,19 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [7] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] Property [ protected $prefix = 'ph-apcu-' ] + Property [ protected $eventType = 'cache' ] } - - Methods [29] { + - Methods [32] { Method [ public method __construct ] { - Parameters [2] { @@ -28139,10 +28348,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Cache\Adapter\Libmemcached extends Phalcon\Storage\Adapter\Libmemcached implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Libmemcached extends Phalcon\Storage\Adapter\Libmemcached implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -28153,17 +28386,19 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [7] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] Property [ protected $prefix = 'ph-memc-' ] + Property [ protected $eventType = 'cache' ] } - - Methods [22] { + - Methods [25] { Method [ public method __construct ] { - Parameters [2] { @@ -28337,10 +28572,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Cache\Adapter\Memory extends Phalcon\Storage\Adapter\Memory implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Memory extends Phalcon\Storage\Adapter\Memory implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -28351,7 +28610,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [8] { + - Properties [10] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] @@ -28359,10 +28618,12 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Property [ protected $prefix = 'ph-memo-' ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] Property [ protected $data = NULL ] + Property [ protected $eventType = 'cache' ] } - - Methods [22] { + - Methods [25] { Method [ public method __construct ] { - Parameters [2] { @@ -28536,10 +28797,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Cache\Adapter\Redis extends Phalcon\Storage\Adapter\Redis implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Redis extends Phalcon\Storage\Adapter\Redis implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -28550,17 +28835,19 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [7] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] Property [ protected $prefix = 'ph-reds-' ] + Property [ protected $eventType = 'cache' ] } - - Methods [22] { + - Methods [25] { Method [ public method __construct ] { - Parameters [2] { @@ -28734,10 +29021,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Cache\Adapter\Stream extends Phalcon\Storage\Adapter\Stream implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Stream extends Phalcon\Storage\Adapter\Stream implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -28748,18 +29059,20 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [8] { + - Properties [10] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] Property [ protected $prefix = 'ph-strm' ] Property [ protected $storageDir = '' ] + Property [ protected $eventType = 'cache' ] } - - Methods [27] { + - Methods [30] { Method [ public method __construct ] { - Parameters [2] { @@ -28974,10 +29287,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Cache\Adapter\Weak extends Phalcon\Storage\Adapter\Weak implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Weak extends Phalcon\Storage\Adapter\Weak implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -28988,19 +29325,21 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [9] { + - Properties [11] { 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 $eventsManager = NULL ] Property [ protected $fetching = NULL ] Property [ protected $weakList = NULL ] Property [ protected $options = NULL ] + Property [ protected $eventType = 'cache' ] } - - Methods [22] { + - Methods [25] { Method [ public method __construct ] { - Parameters [2] { @@ -29174,10 +29513,34 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #3 [ ?string $cast = ] } } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } - Class [ class Phalcon\Cache\Cache extends Phalcon\Cache\AbstractCache implements Phalcon\Cache\CacheInterface ] { + Class [ class Phalcon\Cache\Cache extends Phalcon\Cache\AbstractCache implements Phalcon\Events\EventsAwareInterface, Phalcon\Cache\CacheInterface ] { - Constants [0] { } @@ -29188,11 +29551,12 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Static methods [0] { } - - Properties [1] { + - Properties [2] { Property [ protected $adapter = NULL ] + Property [ protected $eventsManager = NULL ] } - - Methods [21] { + - Methods [24] { Method [ public method clear ] { - Parameters [0] { @@ -29280,6 +29644,21 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Return [ Phalcon\Cache\Adapter\AdapterInterface ] } + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + Method [ protected method checkKey ] { - Parameters [1] { @@ -29362,6 +29741,15 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } - Return [ bool ] } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } } } @@ -31154,7 +31542,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toJson ] { @@ -31168,7 +31556,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -31480,7 +31868,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toJson ] { @@ -31494,7 +31882,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -31771,7 +32159,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toJson ] { @@ -31785,7 +32173,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -32062,7 +32450,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toJson ] { @@ -32076,7 +32464,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -32372,7 +32760,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toJson ] { @@ -32386,7 +32774,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -37596,7 +37984,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Constant [ public int BIND_SKIP ] { 1024 } Constant [ public int TYPE_BIGINTEGER ] { 14 } Constant [ public int TYPE_BIT ] { 19 } - Constant [ public int TYPE_BINARY ] { 26 } + Constant [ public int TYPE_BINARY ] { 27 } Constant [ public int TYPE_BLOB ] { 11 } Constant [ public int TYPE_BOOLEAN ] { 8 } Constant [ public int TYPE_CHAR ] { 5 } @@ -37621,7 +38009,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Constant [ public int TYPE_TINYBLOB ] { 10 } Constant [ public int TYPE_TINYINTEGER ] { 26 } Constant [ public int TYPE_TINYTEXT ] { 25 } - Constant [ public int TYPE_VARBINARY ] { 27 } + Constant [ public int TYPE_VARBINARY ] { 28 } Constant [ public int TYPE_VARCHAR ] { 2 } } @@ -54154,7 +54542,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toArray ] { @@ -54175,7 +54563,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -64499,7 +64887,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Method [ public method __toString ] { + Method [ public method __toString ] { - Parameters [0] { } @@ -66717,14 +67105,15 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ $data ] + Parameter #0 [ string $data ] } + - Return [ void ] } Method [ final public method setConnectionService ] { @@ -73192,7 +73581,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method getPaths ] { @@ -74840,7 +75229,6 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Parameter #0 [ string $viewCode ] Parameter #1 [ bool $extendsMode = ] } - - Return [ string ] } Method [ protected method getFinalPath ] { @@ -75812,7 +76200,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method destroy ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ bool ] } @@ -75820,7 +76208,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method gc ] { - Parameters [1] { - Parameter #0 [ int $maxlifetime ] + Parameter #0 [ int $max_lifetime ] } - Return [ int|false ] } @@ -75828,7 +76216,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method read ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ string ] } @@ -75896,7 +76284,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method destroy ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ bool ] } @@ -75904,7 +76292,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method gc ] { - Parameters [1] { - Parameter #0 [ int $maxlifetime ] + Parameter #0 [ int $max_lifetime ] } - Return [ int|false ] } @@ -75912,7 +76300,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method read ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ string ] } @@ -75976,7 +76364,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method destroy ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ bool ] } @@ -75984,7 +76372,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method gc ] { - Parameters [1] { - Parameter #0 [ int $maxlifetime ] + Parameter #0 [ int $max_lifetime ] } - Return [ int|false ] } @@ -76001,7 +76389,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method read ] { - Parameters [1] { - Parameter #0 [ $sessionId ] + Parameter #0 [ $id ] } - Return [ string ] } @@ -76296,7 +76684,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toArray ] { @@ -76317,7 +76705,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -78293,7 +78681,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ public method toArray ] { @@ -78314,7 +78702,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -81397,7 +81785,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Parameters [0] { } - - Return [ string ] + - Return [ ?string ] } Method [ final public method set ] { @@ -81427,7 +81815,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ final public method unserialize ] { - Parameters [1] { - Parameter #0 [ $serialized ] + Parameter #0 [ string $data ] } - Return [ void ] } @@ -83040,8 +83428,11 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Methods [1] { Method [ final public method __invoke ] { - - Parameters [1] { - Parameter #0 [ $element ] + - Parameters [4] { + Parameter #0 [ $number ] + Parameter #1 [ $message ] + Parameter #2 [ $file ] + Parameter #3 [ $line ] } } } @@ -83061,30 +83452,6 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Properties [0] { } - - Methods [1] { - Method [ final public method __invoke ] { - - - Parameters [1] { - Parameter #0 [ $action ] - } - } - } - } - - Class [ final class phalcon\11__closure ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - Methods [1] { Method [ final public method __invoke ] { @@ -83098,7 +83465,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Class [ final class phalcon\12__closure ] { + Class [ final class phalcon\11__closure ] { - Constants [0] { } @@ -83126,7 +83493,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Class [ final class phalcon\13__closure ] { + Class [ final class phalcon\12__closure ] { - Constants [0] { } @@ -83150,7 +83517,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { } } - Class [ final class phalcon\14__closure ] { + Class [ final class phalcon\13__closure ] { - Constants [0] { } @@ -83191,11 +83558,12 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Methods [1] { Method [ final public method __invoke ] { - - Parameters [4] { + - Parameters [5] { Parameter #0 [ $number ] Parameter #1 [ $message ] Parameter #2 [ $file ] Parameter #3 [ $line ] + Parameter #4 [ $context ] } } } @@ -83218,12 +83586,11 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Methods [1] { Method [ final public method __invoke ] { - - Parameters [5] { + - Parameters [4] { Parameter #0 [ $number ] Parameter #1 [ $message ] Parameter #2 [ $file ] Parameter #3 [ $line ] - Parameter #4 [ $context ] } } } @@ -83246,11 +83613,12 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Methods [1] { Method [ final public method __invoke ] { - - Parameters [4] { + - Parameters [5] { Parameter #0 [ $number ] Parameter #1 [ $message ] Parameter #2 [ $file ] Parameter #3 [ $line ] + Parameter #4 [ $context ] } } } @@ -83273,12 +83641,11 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Methods [1] { Method [ final public method __invoke ] { - - Parameters [5] { + - Parameters [4] { Parameter #0 [ $number ] Parameter #1 [ $message ] Parameter #2 [ $file ] Parameter #3 [ $line ] - Parameter #4 [ $context ] } } } @@ -83301,11 +83668,12 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Methods [1] { Method [ final public method __invoke ] { - - Parameters [4] { + - Parameters [5] { Parameter #0 [ $number ] Parameter #1 [ $message ] Parameter #2 [ $file ] Parameter #3 [ $line ] + Parameter #4 [ $context ] } } } @@ -83328,12 +83696,8 @@ Extension [ extension #100 phalcon version 5.7.0 ] { - Methods [1] { Method [ final public method __invoke ] { - - Parameters [5] { - Parameter #0 [ $number ] - Parameter #1 [ $message ] - Parameter #2 [ $file ] - Parameter #3 [ $line ] - Parameter #4 [ $context ] + - Parameters [1] { + Parameter #0 [ $file ] } } } @@ -83357,7 +83721,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ final public method __invoke ] { - Parameters [1] { - Parameter #0 [ $file ] + Parameter #0 [ $element ] } } } @@ -83405,7 +83769,7 @@ Extension [ extension #100 phalcon version 5.7.0 ] { Method [ final public method __invoke ] { - Parameters [1] { - Parameter #0 [ $element ] + Parameter #0 [ $action ] } } } diff --git a/php-phalcon5.spec b/php-phalcon5.spec index 2ed8334..8e88791 100644 --- a/php-phalcon5.spec +++ b/php-phalcon5.spec @@ -13,7 +13,7 @@ %global pecl_name phalcon # after 40-json.ini, 20-pdo.ini %global ini_name 50-%{pecl_name}.ini -%global upstream_version 5.7.0 +%global upstream_version 5.8.0 #global upstream_prever RC4 #global upstream_low %%(echo %%{upstream_prever} | tr '[:upper:]' '[:lower:]') %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} @@ -77,7 +77,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -qc -%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} +sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml cd %{sources} # Sanity check, really often broken @@ -198,28 +198,8 @@ done %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 %{sources}/LICENSE.txt} +%license %{sources}/LICENSE.txt %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -235,6 +215,9 @@ fi %changelog +* Wed Jul 10 2024 Remi Collet - 5.8.0-1 +- update to 5.8.0 + * Sun May 19 2024 Remi Collet - 5.7.0-1 - update to 5.7.0 -- cgit