Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a license header to PHP files.

  • Loading branch information...
commit 9608a9746981cd625a8180d9fc8278c82343f7e8 1 parent b4d5b19
@nrk authored
Showing with 2,101 additions and 47 deletions.
  1. +15 −0 bin/createPhar.php
  2. +13 −1 bin/createSingleFile.php
  3. +9 −0 examples/CustomDistributionStrategy.php
  4. +9 −0 examples/DispatcherLoop.php
  5. +9 −0 examples/KeyPrefixes.php
  6. +13 −7 examples/MonitorContext.php
  7. +20 −13 examples/MultiExecTransactionsWithCAS.php
  8. +9 −0 examples/MultipleSetAndGet.php
  9. +9 −0 examples/PipelineContext.php
  10. +9 −0 examples/PubSubContext.php
  11. +9 −0 examples/ServerSideScripting.php
  12. +9 −0 examples/SharedConfigurations.php
  13. +9 −0 examples/SimpleDebuggableConnection.php
  14. +9 −0 examples/SimpleSetAndGet.php
  15. +9 −0 lib/Predis/Autoloader.php
  16. +9 −0 lib/Predis/Client.php
  17. +9 −0 lib/Predis/ClientException.php
  18. +9 −0 lib/Predis/ClientOptions.php
  19. +9 −0 lib/Predis/Commands/Command.php
  20. +9 −0 lib/Predis/Commands/ConnectionAuth.php
  21. +9 −0 lib/Predis/Commands/ConnectionEcho.php
  22. +9 −0 lib/Predis/Commands/ConnectionPing.php
  23. +9 −0 lib/Predis/Commands/ConnectionQuit.php
  24. +9 −0 lib/Predis/Commands/ConnectionSelect.php
  25. +9 −0 lib/Predis/Commands/HashDelete.php
  26. +9 −0 lib/Predis/Commands/HashExists.php
  27. +9 −0 lib/Predis/Commands/HashGet.php
  28. +9 −0 lib/Predis/Commands/HashGetAll.php
  29. +9 −0 lib/Predis/Commands/HashGetMultiple.php
  30. +9 −0 lib/Predis/Commands/HashIncrementBy.php
  31. +9 −0 lib/Predis/Commands/HashKeys.php
  32. +9 −0 lib/Predis/Commands/HashLength.php
  33. +9 −0 lib/Predis/Commands/HashSet.php
  34. +9 −0 lib/Predis/Commands/HashSetMultiple.php
  35. +9 −0 lib/Predis/Commands/HashSetPreserve.php
  36. +9 −0 lib/Predis/Commands/HashValues.php
  37. +9 −0 lib/Predis/Commands/ICommand.php
  38. +9 −0 lib/Predis/Commands/KeyDelete.php
  39. +9 −0 lib/Predis/Commands/KeyExists.php
  40. +9 −0 lib/Predis/Commands/KeyExpire.php
  41. +9 −0 lib/Predis/Commands/KeyExpireAt.php
  42. +9 −0 lib/Predis/Commands/KeyKeys.php
  43. +9 −0 lib/Predis/Commands/KeyKeysV12x.php
  44. +9 −0 lib/Predis/Commands/KeyMove.php
  45. +9 −0 lib/Predis/Commands/KeyPersist.php
  46. +9 −0 lib/Predis/Commands/KeyRandom.php
  47. +9 −0 lib/Predis/Commands/KeyRename.php
  48. +9 −0 lib/Predis/Commands/KeyRenamePreserve.php
  49. +9 −0 lib/Predis/Commands/KeySort.php
  50. +9 −0 lib/Predis/Commands/KeyTimeToLive.php
  51. +9 −0 lib/Predis/Commands/KeyType.php
  52. +9 −0 lib/Predis/Commands/ListIndex.php
  53. +9 −0 lib/Predis/Commands/ListInsert.php
  54. +9 −0 lib/Predis/Commands/ListLength.php
  55. +9 −0 lib/Predis/Commands/ListPopFirst.php
  56. +9 −0 lib/Predis/Commands/ListPopFirstBlocking.php
  57. +9 −0 lib/Predis/Commands/ListPopLast.php
  58. +9 −0 lib/Predis/Commands/ListPopLastBlocking.php
  59. +9 −0 lib/Predis/Commands/ListPopLastPushHead.php
  60. +9 −0 lib/Predis/Commands/ListPopLastPushHeadBlocking.php
  61. +9 −0 lib/Predis/Commands/ListPushHead.php
  62. +9 −0 lib/Predis/Commands/ListPushHeadX.php
  63. +9 −0 lib/Predis/Commands/ListPushTail.php
  64. +9 −0 lib/Predis/Commands/ListPushTailX.php
  65. +9 −0 lib/Predis/Commands/ListRange.php
  66. +9 −0 lib/Predis/Commands/ListRemove.php
  67. +9 −0 lib/Predis/Commands/ListSet.php
  68. +9 −0 lib/Predis/Commands/ListTrim.php
  69. +9 −0 lib/Predis/Commands/PrefixHelpers.php
  70. +9 −0 lib/Predis/Commands/Processors/ICommandProcessor.php
  71. +9 −0 lib/Predis/Commands/Processors/ICommandProcessorChain.php
  72. +9 −0 lib/Predis/Commands/Processors/IProcessingSupport.php
  73. +9 −0 lib/Predis/Commands/Processors/KeyPrefixProcessor.php
  74. +9 −0 lib/Predis/Commands/Processors/ProcessorChain.php
  75. +9 −0 lib/Predis/Commands/PubSubPublish.php
  76. +9 −0 lib/Predis/Commands/PubSubSubscribe.php
  77. +9 −0 lib/Predis/Commands/PubSubSubscribeByPattern.php
  78. +9 −0 lib/Predis/Commands/PubSubUnsubscribe.php
  79. +9 −0 lib/Predis/Commands/PubSubUnsubscribeByPattern.php
  80. +9 −0 lib/Predis/Commands/ScriptedCommand.php
  81. +9 −0 lib/Predis/Commands/ServerBackgroundRewriteAOF.php
  82. +9 −0 lib/Predis/Commands/ServerBackgroundSave.php
  83. +9 −0 lib/Predis/Commands/ServerClient.php
  84. +9 −0 lib/Predis/Commands/ServerConfig.php
  85. +9 −0 lib/Predis/Commands/ServerDatabaseSize.php
  86. +9 −0 lib/Predis/Commands/ServerEval.php
  87. +9 −0 lib/Predis/Commands/ServerEvalSHA.php
  88. +9 −0 lib/Predis/Commands/ServerFlushAll.php
  89. +9 −0 lib/Predis/Commands/ServerFlushDatabase.php
  90. +9 −0 lib/Predis/Commands/ServerInfo.php
  91. +9 −0 lib/Predis/Commands/ServerInfoV26x.php
  92. +9 −0 lib/Predis/Commands/ServerLastSave.php
  93. +9 −0 lib/Predis/Commands/ServerMonitor.php
  94. +9 −0 lib/Predis/Commands/ServerObject.php
  95. +9 −0 lib/Predis/Commands/ServerSave.php
  96. +9 −0 lib/Predis/Commands/ServerShutdown.php
  97. +9 −0 lib/Predis/Commands/ServerSlaveOf.php
  98. +9 −0 lib/Predis/Commands/SetAdd.php
  99. +9 −0 lib/Predis/Commands/SetCardinality.php
  100. +9 −0 lib/Predis/Commands/SetDifference.php
  101. +9 −0 lib/Predis/Commands/SetDifferenceStore.php
  102. +9 −0 lib/Predis/Commands/SetIntersection.php
  103. +9 −0 lib/Predis/Commands/SetIntersectionStore.php
  104. +9 −0 lib/Predis/Commands/SetIsMember.php
  105. +9 −0 lib/Predis/Commands/SetMembers.php
  106. +9 −0 lib/Predis/Commands/SetMove.php
  107. +9 −0 lib/Predis/Commands/SetPop.php
  108. +9 −0 lib/Predis/Commands/SetRandomMember.php
  109. +9 −0 lib/Predis/Commands/SetRemove.php
  110. +9 −0 lib/Predis/Commands/SetUnion.php
  111. +9 −0 lib/Predis/Commands/SetUnionStore.php
  112. +9 −0 lib/Predis/Commands/StringAppend.php
  113. +9 −0 lib/Predis/Commands/StringDecrement.php
  114. +9 −0 lib/Predis/Commands/StringDecrementBy.php
  115. +9 −0 lib/Predis/Commands/StringGet.php
  116. +9 −0 lib/Predis/Commands/StringGetBit.php
  117. +9 −0 lib/Predis/Commands/StringGetMultiple.php
  118. +9 −0 lib/Predis/Commands/StringGetRange.php
  119. +9 −0 lib/Predis/Commands/StringGetSet.php
  120. +9 −0 lib/Predis/Commands/StringIncrement.php
  121. +9 −0 lib/Predis/Commands/StringIncrementBy.php
  122. +9 −0 lib/Predis/Commands/StringSet.php
  123. +9 −0 lib/Predis/Commands/StringSetBit.php
  124. +9 −0 lib/Predis/Commands/StringSetExpire.php
  125. +9 −0 lib/Predis/Commands/StringSetMultiple.php
  126. +9 −0 lib/Predis/Commands/StringSetMultiplePreserve.php
  127. +9 −0 lib/Predis/Commands/StringSetPreserve.php
  128. +9 −0 lib/Predis/Commands/StringSetRange.php
  129. +9 −0 lib/Predis/Commands/StringStrlen.php
  130. +9 −0 lib/Predis/Commands/StringSubstr.php
  131. +9 −0 lib/Predis/Commands/TransactionDiscard.php
  132. +9 −0 lib/Predis/Commands/TransactionExec.php
  133. +9 −0 lib/Predis/Commands/TransactionMulti.php
  134. +9 −0 lib/Predis/Commands/TransactionUnwatch.php
  135. +9 −0 lib/Predis/Commands/TransactionWatch.php
  136. +9 −0 lib/Predis/Commands/ZSetAdd.php
  137. +9 −0 lib/Predis/Commands/ZSetCardinality.php
  138. +9 −0 lib/Predis/Commands/ZSetCount.php
  139. +9 −0 lib/Predis/Commands/ZSetIncrementBy.php
  140. +9 −0 lib/Predis/Commands/ZSetIntersectionStore.php
  141. +9 −0 lib/Predis/Commands/ZSetRange.php
  142. +9 −0 lib/Predis/Commands/ZSetRangeByScore.php
  143. +9 −0 lib/Predis/Commands/ZSetRank.php
  144. +9 −0 lib/Predis/Commands/ZSetRemove.php
  145. +9 −0 lib/Predis/Commands/ZSetRemoveRangeByRank.php
  146. +9 −0 lib/Predis/Commands/ZSetRemoveRangeByScore.php
  147. +9 −0 lib/Predis/Commands/ZSetReverseRange.php
  148. +9 −0 lib/Predis/Commands/ZSetReverseRangeByScore.php
  149. +9 −0 lib/Predis/Commands/ZSetReverseRank.php
  150. +9 −0 lib/Predis/Commands/ZSetScore.php
  151. +9 −0 lib/Predis/Commands/ZSetUnionStore.php
  152. +9 −0 lib/Predis/CommunicationException.php
  153. +9 −0 lib/Predis/ConnectionFactory.php
  154. +9 −0 lib/Predis/ConnectionParameters.php
  155. +9 −0 lib/Predis/DispatcherLoop.php
  156. +9 −0 lib/Predis/Distribution/EmptyRingException.php
  157. +9 −0 lib/Predis/Distribution/HashRing.php
  158. +9 −0 lib/Predis/Distribution/IDistributionStrategy.php
  159. +9 −0 lib/Predis/Distribution/INodeKeyGenerator.php
  160. +9 −0 lib/Predis/Distribution/KetamaPureRing.php
  161. +9 −0 lib/Predis/Helpers.php
  162. +9 −0 lib/Predis/IConnectionFactory.php
  163. +9 −0 lib/Predis/IConnectionParameters.php
  164. +9 −0 lib/Predis/IRedisServerError.php
  165. +9 −0 lib/Predis/IReplyObject.php
  166. +9 −0 lib/Predis/Iterators/MultiBulkResponse.php
  167. +9 −0 lib/Predis/Iterators/MultiBulkResponseSimple.php
  168. +9 −0 lib/Predis/Iterators/MultiBulkResponseTuple.php
  169. +9 −0 lib/Predis/MonitorContext.php
  170. +9 −0 lib/Predis/Network/ComposableStreamConnection.php
  171. +9 −0 lib/Predis/Network/ConnectionBase.php
  172. +9 −0 lib/Predis/Network/ConnectionException.php
  173. +9 −0 lib/Predis/Network/IConnection.php
  174. +9 −0 lib/Predis/Network/IConnectionCluster.php
  175. +9 −0 lib/Predis/Network/IConnectionComposable.php
  176. +9 −0 lib/Predis/Network/IConnectionSingle.php
  177. +23 −15 lib/Predis/Network/PhpiredisConnection.php
  178. +9 −0 lib/Predis/Network/PredisCluster.php
  179. +9 −0 lib/Predis/Network/StreamConnection.php
  180. +19 −11 lib/Predis/Network/WebdisConnection.php
  181. +9 −0 lib/Predis/Options/ClientCluster.php
  182. +9 −0 lib/Predis/Options/ClientConnectionFactory.php
  183. +9 −0 lib/Predis/Options/ClientPrefix.php
  184. +9 −0 lib/Predis/Options/ClientProfile.php
  185. +9 −0 lib/Predis/Options/CustomOption.php
  186. +9 −0 lib/Predis/Options/IOption.php
  187. +9 −0 lib/Predis/Options/Option.php
  188. +9 −0 lib/Predis/Pipeline/FireAndForgetExecutor.php
  189. +9 −0 lib/Predis/Pipeline/IPipelineExecutor.php
  190. +9 −0 lib/Predis/Pipeline/PipelineContext.php
  191. +9 −0 lib/Predis/Pipeline/SafeClusterExecutor.php
  192. +9 −0 lib/Predis/Pipeline/SafeExecutor.php
  193. +9 −0 lib/Predis/Pipeline/StandardExecutor.php
  194. +9 −0 lib/Predis/PredisException.php
  195. +9 −0 lib/Predis/Profiles/IServerProfile.php
  196. +9 −0 lib/Predis/Profiles/ServerProfile.php
  197. +9 −0 lib/Predis/Profiles/ServerVersion12.php
  198. +9 −0 lib/Predis/Profiles/ServerVersion20.php
  199. +9 −0 lib/Predis/Profiles/ServerVersion22.php
  200. +9 −0 lib/Predis/Profiles/ServerVersion24.php
  201. +9 −0 lib/Predis/Profiles/ServerVersionNext.php
  202. +9 −0 lib/Predis/Protocol/ICommandSerializer.php
  203. +9 −0 lib/Predis/Protocol/IComposableProtocolProcessor.php
  204. +9 −0 lib/Predis/Protocol/IProtocolProcessor.php
  205. +9 −0 lib/Predis/Protocol/IResponseHandler.php
  206. +9 −0 lib/Predis/Protocol/IResponseReader.php
  207. +9 −0 lib/Predis/Protocol/ProtocolException.php
  208. +9 −0 lib/Predis/Protocol/Text/ComposableTextProtocol.php
  209. +9 −0 lib/Predis/Protocol/Text/ResponseBulkHandler.php
  210. +9 −0 lib/Predis/Protocol/Text/ResponseErrorHandler.php
  211. +9 −0 lib/Predis/Protocol/Text/ResponseErrorSilentHandler.php
  212. +9 −0 lib/Predis/Protocol/Text/ResponseIntegerHandler.php
  213. +9 −0 lib/Predis/Protocol/Text/ResponseMultiBulkHandler.php
  214. +9 −0 lib/Predis/Protocol/Text/ResponseMultiBulkStreamHandler.php
  215. +9 −0 lib/Predis/Protocol/Text/ResponseStatusHandler.php
  216. +9 −0 lib/Predis/Protocol/Text/TextCommandSerializer.php
  217. +9 −0 lib/Predis/Protocol/Text/TextProtocol.php
  218. +9 −0 lib/Predis/Protocol/Text/TextResponseReader.php
  219. +9 −0 lib/Predis/PubSubContext.php
  220. +9 −0 lib/Predis/ResponseError.php
  221. +9 −0 lib/Predis/ResponseQueued.php
  222. +9 −0 lib/Predis/ServerException.php
  223. +9 −0 lib/Predis/Transaction/AbortedMultiExecException.php
  224. +9 −0 lib/Predis/Transaction/MultiExecContext.php
  225. +9 −0 test/ClientFeaturesTest.php
  226. +9 −0 test/PredisShared.php
  227. +9 −0 test/RedisCommandsTest.php
  228. +9 −0 test/bootstrap.php
View
15 bin/createPhar.php
@@ -1,10 +1,25 @@
#!/usr/bin/env php
<?php
+
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+// -------------------------------------------------------------------------- //
+
// In order to be able to execute this script to create a Phar archive of Predis,
// the Phar module must be loaded and the "phar.readonly" directive php.ini must
// be set to "off". You can change the values in the $options array to customize
// the creation of the Phar archive to better suit your needs.
+
+// -------------------------------------------------------------------------- //
+
$options = array(
'name' => 'predis',
'project_path' => __DIR__ . '/../lib/',
View
14 bin/createSingleFile.php
@@ -1,5 +1,17 @@
#!/usr/bin/env php
<?php
+
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+// -------------------------------------------------------------------------- //
+
// This script can be used to automatically glue all the .php files of Predis
// into a single monolithic script file that can be used without an autoloader,
// just like the other previous versions of the library.
@@ -11,7 +23,7 @@
// The current implementation is pretty naïve, but it should do for now.
//
-/* -------------------------------------------------------------------------- */
+// -------------------------------------------------------------------------- //
class CommandLine
{
View
9 examples/CustomDistributionStrategy.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
// Developers can customize the distribution strategy used by the client
View
9 examples/DispatcherLoop.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
/*
View
9 examples/KeyPrefixes.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
// Predis ships with a KeyPrefixProcessor class that is used to transparently
View
20 examples/MonitorContext.php
@@ -1,14 +1,20 @@
<?php
-require 'SharedConfigurations.php';
-
/*
-This is a basic example on how to use the Predis\MonitorContext class.
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+require 'SharedConfigurations.php';
-You can use redis-cli to send commands to the same Redis instance your client is
-connected to, and then type "ECHO QUIT_MONITOR" in redis-cli when you want to
-exit the monitor loop and terminate this script in a graceful way.
-*/
+// This is a basic example on how to use the Predis\MonitorContext class.
+// You can use redis-cli to send commands to the same Redis instance your client is
+// connected to, and then type "ECHO QUIT_MONITOR" in redis-cli when you want to
+// exit the monitor loop and terminate this script in a graceful way.
// Create a client and disable r/w timeout on the socket.
$client = new Predis\Client($single_server + array('read_write_timeout' => 0));
View
33 examples/MultiExecTransactionsWithCAS.php
@@ -1,20 +1,27 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
-/*
-This is an implementation of an atomic client-side ZPOP using the support for
-check-and-set (CAS) operations with MULTI/EXEC transactions, as described in
-"WATCH explained" from http://redis.io/topics/transactions
-
-First, populate your database with a tiny sample data set:
-
-./redis-cli
-SELECT 15
-ZADD zset 1 a
-ZADD zset 2 b
-ZADD zset 3 c
-*/
+// This is an implementation of an atomic client-side ZPOP using the support for
+// check-and-set (CAS) operations with MULTI/EXEC transactions, as described in
+// "WATCH explained" from http://redis.io/topics/transactions
+//
+// First, populate your database with a tiny sample data set:
+//
+// ./redis-cli
+// SELECT 15
+// ZADD zset 1 a
+// ZADD zset 2 b
+// ZADD zset 3 c
function zpop($client, $key)
{
View
9 examples/MultipleSetAndGet.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
// redis can set keys and their relative values in one go
View
9 examples/PipelineContext.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
// When you have a whole set of consecutive commands to send to
View
9 examples/PubSubContext.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
// Redis 2.0 features new commands that allow clients to subscribe for
View
9 examples/ServerSideScripting.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
// Additionally to the EVAL command defined in the current development profile, the new
View
9 examples/SharedConfigurations.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require __DIR__.'/../lib/Predis/Autoloader.php';
Predis\Autoloader::register();
View
9 examples/SimpleDebuggableConnection.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
use Predis\ConnectionParameters;
View
9 examples/SimpleSetAndGet.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
require 'SharedConfigurations.php';
// simple set and get scenario
View
9 lib/Predis/Autoloader.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis;
class Autoloader
View
9 lib/Predis/Client.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis;
use Predis\Commands\ICommand;
View
9 lib/Predis/ClientException.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis;
class ClientException extends PredisException
View
9 lib/Predis/ClientOptions.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis;
use Predis\Options\IOption;
View
9 lib/Predis/Commands/Command.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/ConnectionAuth.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ConnectionAuth extends Command
View
9 lib/Predis/Commands/ConnectionEcho.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ConnectionEcho extends Command
View
9 lib/Predis/Commands/ConnectionPing.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ConnectionPing extends Command
View
9 lib/Predis/Commands/ConnectionQuit.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ConnectionQuit extends Command
View
9 lib/Predis/Commands/ConnectionSelect.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ConnectionSelect extends Command
View
9 lib/Predis/Commands/HashDelete.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/HashExists.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashExists extends Command
View
9 lib/Predis/Commands/HashGet.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashGet extends Command
View
9 lib/Predis/Commands/HashGetAll.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Iterators\MultiBulkResponseTuple;
View
9 lib/Predis/Commands/HashGetMultiple.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/HashIncrementBy.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashIncrementBy extends Command
View
9 lib/Predis/Commands/HashKeys.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashKeys extends Command
View
9 lib/Predis/Commands/HashLength.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashLength extends Command
View
9 lib/Predis/Commands/HashSet.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashSet extends Command {
View
9 lib/Predis/Commands/HashSetMultiple.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashSetMultiple extends Command
View
9 lib/Predis/Commands/HashSetPreserve.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashSetPreserve extends Command
View
9 lib/Predis/Commands/HashValues.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class HashValues extends Command
View
9 lib/Predis/Commands/ICommand.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Distribution\INodeKeyGenerator;
View
9 lib/Predis/Commands/KeyDelete.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/KeyExists.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyExists extends Command
View
9 lib/Predis/Commands/KeyExpire.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyExpire extends Command
View
9 lib/Predis/Commands/KeyExpireAt.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyExpireAt extends Command
View
9 lib/Predis/Commands/KeyKeys.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyKeys extends Command
View
9 lib/Predis/Commands/KeyKeysV12x.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyKeysV12x extends KeyKeys
View
9 lib/Predis/Commands/KeyMove.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyMove extends Command
View
9 lib/Predis/Commands/KeyPersist.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyPersist extends Command
View
9 lib/Predis/Commands/KeyRandom.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyRandom extends Command
View
9 lib/Predis/Commands/KeyRename.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyRename extends Command
View
9 lib/Predis/Commands/KeyRenamePreserve.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyRenamePreserve extends KeyRename
View
9 lib/Predis/Commands/KeySort.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeySort extends Command
View
9 lib/Predis/Commands/KeyTimeToLive.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyTimeToLive extends Command
View
9 lib/Predis/Commands/KeyType.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class KeyType extends Command
View
9 lib/Predis/Commands/ListIndex.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListIndex extends Command
View
9 lib/Predis/Commands/ListInsert.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListInsert extends Command
View
9 lib/Predis/Commands/ListLength.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListLength extends Command
View
9 lib/Predis/Commands/ListPopFirst.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPopFirst extends Command
View
9 lib/Predis/Commands/ListPopFirstBlocking.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPopFirstBlocking extends Command
View
9 lib/Predis/Commands/ListPopLast.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPopLast extends Command
View
9 lib/Predis/Commands/ListPopLastBlocking.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPopLastBlocking extends ListPopFirstBlocking
View
9 lib/Predis/Commands/ListPopLastPushHead.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPopLastPushHead extends Command
View
9 lib/Predis/Commands/ListPopLastPushHeadBlocking.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPopLastPushHeadBlocking extends Command
View
9 lib/Predis/Commands/ListPushHead.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPushHead extends ListPushTail
View
9 lib/Predis/Commands/ListPushHeadX.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPushHeadX extends Command
View
9 lib/Predis/Commands/ListPushTail.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/ListPushTailX.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListPushTailX extends Command
View
9 lib/Predis/Commands/ListRange.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListRange extends Command
View
9 lib/Predis/Commands/ListRemove.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListRemove extends Command
View
9 lib/Predis/Commands/ListSet.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListSet extends Command
View
9 lib/Predis/Commands/ListTrim.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ListTrim extends Command
View
9 lib/Predis/Commands/PrefixHelpers.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class PrefixHelpers
View
9 lib/Predis/Commands/Processors/ICommandProcessor.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands\Processors;
use Predis\Commands\ICommand;
View
9 lib/Predis/Commands/Processors/ICommandProcessorChain.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands\Processors;
interface ICommandProcessorChain extends ICommandProcessor, \IteratorAggregate, \Countable
View
9 lib/Predis/Commands/Processors/IProcessingSupport.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands\Processors;
interface IProcessingSupport
View
9 lib/Predis/Commands/Processors/KeyPrefixProcessor.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands\Processors;
use Predis\Commands\ICommand;
View
9 lib/Predis/Commands/Processors/ProcessorChain.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands\Processors;
use Predis\Commands\ICommand;
View
9 lib/Predis/Commands/PubSubPublish.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class PubSubPublish extends Command
View
9 lib/Predis/Commands/PubSubSubscribe.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/PubSubSubscribeByPattern.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/PubSubUnsubscribe.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class PubSubUnsubscribe extends Command
View
9 lib/Predis/Commands/PubSubUnsubscribeByPattern.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class PubSubUnsubscribeByPattern extends PubSubUnsubscribe
View
9 lib/Predis/Commands/ScriptedCommand.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
abstract class ScriptedCommand extends ServerEval
View
9 lib/Predis/Commands/ServerBackgroundRewriteAOF.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerBackgroundRewriteAOF extends Command
View
9 lib/Predis/Commands/ServerBackgroundSave.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerBackgroundSave extends Command
View
9 lib/Predis/Commands/ServerClient.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerClient extends Command
View
9 lib/Predis/Commands/ServerConfig.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerConfig extends Command
View
9 lib/Predis/Commands/ServerDatabaseSize.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerDatabaseSize extends Command
View
9 lib/Predis/Commands/ServerEval.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerEval extends Command
View
9 lib/Predis/Commands/ServerEvalSHA.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerEvalSHA extends ServerEval
View
9 lib/Predis/Commands/ServerFlushAll.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerFlushAll extends Command
View
9 lib/Predis/Commands/ServerFlushDatabase.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerFlushDatabase extends Command
View
9 lib/Predis/Commands/ServerInfo.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerInfo extends Command
View
9 lib/Predis/Commands/ServerInfoV26x.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerInfoV26x extends ServerInfo
View
9 lib/Predis/Commands/ServerLastSave.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerLastSave extends Command
View
9 lib/Predis/Commands/ServerMonitor.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerMonitor extends Command
View
9 lib/Predis/Commands/ServerObject.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
use Predis\Helpers;
View
9 lib/Predis/Commands/ServerSave.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerSave extends Command
View
9 lib/Predis/Commands/ServerShutdown.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Predis\Commands;
class ServerShutdown extends Command
View
9 lib/Predis/Commands/ServerSlaveOf.php
@@ -1,5 +1,14 @@
<?php
+/*
+ * This file is part of the Predis package.
+ *
+ * (c) Daniele Alessandri <suppakilla@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */