Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/lookup-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server/vendor/slim/slim/Slim/Interfaces')
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/CallableResolverInterface.php4
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/CollectionInterface.php4
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/Http/CookiesInterface.php4
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/Http/EnvironmentInterface.php4
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/Http/HeadersInterface.php4
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/InvocationStrategyInterface.php4
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/RouteGroupInterface.php4
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/RouteInterface.php16
-rw-r--r--server/vendor/slim/slim/Slim/Interfaces/RouterInterface.php8
9 files changed, 28 insertions, 24 deletions
diff --git a/server/vendor/slim/slim/Slim/Interfaces/CallableResolverInterface.php b/server/vendor/slim/slim/Slim/Interfaces/CallableResolverInterface.php
index 9bde59a..17d81db 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/CallableResolverInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/CallableResolverInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces;
diff --git a/server/vendor/slim/slim/Slim/Interfaces/CollectionInterface.php b/server/vendor/slim/slim/Slim/Interfaces/CollectionInterface.php
index 876b061..be995bf 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/CollectionInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/CollectionInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces;
diff --git a/server/vendor/slim/slim/Slim/Interfaces/Http/CookiesInterface.php b/server/vendor/slim/slim/Slim/Interfaces/Http/CookiesInterface.php
index 44981ce..206175a 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/Http/CookiesInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/Http/CookiesInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces\Http;
diff --git a/server/vendor/slim/slim/Slim/Interfaces/Http/EnvironmentInterface.php b/server/vendor/slim/slim/Slim/Interfaces/Http/EnvironmentInterface.php
index a14ecbd..af19d28 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/Http/EnvironmentInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/Http/EnvironmentInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces\Http;
diff --git a/server/vendor/slim/slim/Slim/Interfaces/Http/HeadersInterface.php b/server/vendor/slim/slim/Slim/Interfaces/Http/HeadersInterface.php
index 08288fc..b737705 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/Http/HeadersInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/Http/HeadersInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces\Http;
diff --git a/server/vendor/slim/slim/Slim/Interfaces/InvocationStrategyInterface.php b/server/vendor/slim/slim/Slim/Interfaces/InvocationStrategyInterface.php
index 07b3314..14a92c1 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/InvocationStrategyInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/InvocationStrategyInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces;
diff --git a/server/vendor/slim/slim/Slim/Interfaces/RouteGroupInterface.php b/server/vendor/slim/slim/Slim/Interfaces/RouteGroupInterface.php
index 319a67e..5ed3303 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/RouteGroupInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/RouteGroupInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces;
diff --git a/server/vendor/slim/slim/Slim/Interfaces/RouteInterface.php b/server/vendor/slim/slim/Slim/Interfaces/RouteInterface.php
index 32d4bae..d2d0d24 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/RouteInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/RouteInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces;
@@ -25,16 +25,16 @@ interface RouteInterface
* Retrieve a specific route argument
*
* @param string $name
- * @param mixed $default
+ * @param string|null $default
*
- * @return mixed
+ * @return string|null
*/
public function getArgument($name, $default = null);
/**
* Get route arguments
*
- * @return array
+ * @return string[]
*/
public function getArguments();
@@ -58,16 +58,16 @@ interface RouteInterface
* @param string $name
* @param string $value
*
- * @return static
+ * @return self
*/
public function setArgument($name, $value);
/**
* Replace route arguments
*
- * @param array $arguments
+ * @param string[] $arguments
*
- * @return static
+ * @return self
*/
public function setArguments(array $arguments);
diff --git a/server/vendor/slim/slim/Slim/Interfaces/RouterInterface.php b/server/vendor/slim/slim/Slim/Interfaces/RouterInterface.php
index 3d32dcd..2ab8b67 100644
--- a/server/vendor/slim/slim/Slim/Interfaces/RouterInterface.php
+++ b/server/vendor/slim/slim/Slim/Interfaces/RouterInterface.php
@@ -1,9 +1,9 @@
<?php
/**
- * Slim Framework (http://slimframework.com)
+ * Slim Framework (https://slimframework.com)
*
* @link https://github.com/slimphp/Slim
- * @copyright Copyright (c) 2011-2016 Josh Lockhart
+ * @copyright Copyright (c) 2011-2017 Josh Lockhart
* @license https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
*/
namespace Slim\Interfaces;
@@ -20,6 +20,10 @@ use Psr\Http\Message\ServerRequestInterface;
*/
interface RouterInterface
{
+ // array keys from route result
+ const DISPATCH_STATUS = 0;
+ const ALLOWED_METHODS = 1;
+
/**
* Add route
*