diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 36 |
1 files changed, 22 insertions, 14 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #119 yac version 2.3.0 ] { +Extension [ <persistent> extension #119 yac version 2.3.1 ] { - Dependencies { Dependency [ msgpack (Required) ] @@ -31,7 +31,7 @@ Extension [ <persistent> extension #119 yac version 2.3.0 ] { } - Constants [9] { - Constant [ string YAC_VERSION ] { 2.3.0 } + Constant [ string YAC_VERSION ] { 2.3.1 } Constant [ int YAC_MAX_KEY_LEN ] { 48 } Constant [ int YAC_MAX_VALUE_RAW_LEN ] { 67108863 } Constant [ int YAC_MAX_RAW_COMPRESSED_LEN ] { 1048576 } @@ -61,60 +61,68 @@ Extension [ <persistent> extension #119 yac version 2.3.0 ] { Method [ <internal:yac, ctor> public method __construct ] { - Parameters [1] { - Parameter #0 [ <optional> $prefix = <default> ] + Parameter #0 [ <optional> string $prefix = "" ] } } Method [ <internal:yac> public method add ] { - Parameters [3] { - Parameter #0 [ <required> $keys ] - Parameter #1 [ <optional> $value = <default> ] - Parameter #2 [ <optional> $ttl = <default> ] + Parameter #0 [ <required> array|string $key ] + Parameter #1 [ <required> mixed $value ] + Parameter #2 [ <optional> int $ttl = 0 ] } + - Return [ ?bool ] } Method [ <internal:yac> public method set ] { - Parameters [3] { - Parameter #0 [ <required> $keys ] - Parameter #1 [ <optional> $value = <default> ] - Parameter #2 [ <optional> $ttl = <default> ] + Parameter #0 [ <required> array|string $key ] + Parameter #1 [ <required> mixed $value ] + Parameter #2 [ <optional> int $ttl = 0 ] } + - Return [ ?bool ] } Method [ <internal:yac> public method get ] { - - Parameters [1] { - Parameter #0 [ <required> $keys ] + - Parameters [2] { + Parameter #0 [ <required> array|string $key ] + Parameter #1 [ <optional> mixed &$cas = NULL ] } + - Return [ ?bool ] } Method [ <internal:yac> public method delete ] { - Parameters [2] { - Parameter #0 [ <required> $keys ] - Parameter #1 [ <optional> $ttl = <default> ] + Parameter #0 [ <required> array|string $key ] + Parameter #1 [ <optional> int $delay = 0 ] } + - Return [ ?bool ] } Method [ <internal:yac> public method flush ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:yac> public method info ] { - Parameters [0] { } + - Return [ array ] } Method [ <internal:yac> public method dump ] { - Parameters [1] { - Parameter #0 [ <optional> $limit = <default> ] + Parameter #0 [ <optional> int $limit = 0 ] } + - Return [ ?array ] } } } |