1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532
<?php
/*
* The MIT License
*
* Copyright 2017 Brian Dayhoff <mopsyd@me.com>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
namespace oroboros\core\interfaces\api\psr;
/**
* <Psr7 Api Interface>
* This interface represents the api interface for Psr-7 compliance
* within Oroboros Core. It designates all related classes, interfaces,
* and traits used to satisfy the requirements of Psr-7, and any related
* constructs that can be accessed to provide related information.
*
* This api is most easily provided by accessing the codex entry [psr7].
*
* ----------------
* PURPOSE
* ----------------
*
* An Api Interface is used to declare a family of related classes, and what
* they are meant to satisfy. It also declares any dependencies, and any
* interoperability that can occur with it, or any additional apis that it provides.
*
* This information is used internally to validate the execution plan.
*
* This information can be indexed by checking the Codex
*
* ----------------
* USAGE
* ----------------
*
* Effective useage of this interface construct without collisions requires
* that these interfaces ONLY BE IMPLEMENTED BY CONCRETE, FINAL CLASSES
*
* The traits and abstractions of this system are built to honor the
* considerations if these without directly implementing them.
*
* Concrete classes can implement them as proof that they honor their api.
* Internally, the system will FAVOR the object for jobs related to it's
* DECLARED API when it has MULTIPLE AVAILABLE OPTIONS that all honor a scope.
*
* DECLARE THE API IN THE CONCRETE CLASS if it is not met by inheritance
* (traits cannot accomplish this for you. You must either declare this
* yourself or inherit it from one of our base classes).
*
* const API = '\\oroboros\\core\\interfaces\\api\\adapters\AdapterApi'; //honors the adapter api
*
* Api Interfaces serve as an index of how class type and class scope
* relate to specific api use cases.
* This information is available by checking the Codex
*
* @see \oroboros\core\codex\Codex
*
* Which can also be done by any class using the codex trait
*
* @see \oroboros\core\traits\codex\CodexTrait
*
* Or by extending the abstract
*
* @see \oroboros\core\abstracts\codex\Codex
*
* ----------------
* CONSIDERATIONS
* ----------------
*
* These interfaces DO enforce methods, for objects to report their api.
* This condition can be satisfied by including the api trait in your class.
* Most traits use this one, so it is likely already available if you are
* implementing any other trait.
*
* @see \oroboros\core\traits\api\ApiTrait
*
* These interfaces DO declare numerous constants.
* There is a low probability of constant collision with external codebases.
* If this causes an issue, wrap the object that implements
* the api in one that doesn't, and use a pass-through to obtain it's values.
*
* There is a trait that can accomplish this strict enumeration based off of
* any interface attached to a class that uses it, which can also filter
* results by prefix or suffix of the constant name. It's super handy for
* indexing these in any class that uses them.
*
* @see \oroboros\core\traits\libraries\enum\EnumTrait
*
* There are also sets of provided defaults under the concrete namespace
*
* @see \oroboros\core\libraries\enum
*
* @satisfies \oroboros\core\interfaces\api\ClassTypeApi::CLASS_TYPE_API_VALID
* @author Brian Dayhoff <brian@mopsyd.me>
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
* @link bitbucket.org/oroborosframework/oroboros-core/wiki/development/api/api_interface.md
* @category api-interfaces
* @package oroboros/core
* @subpackage psr7
* @version 0.2.4
* @since 0.2.4-alpha
*/
interface Psr7Api
extends \oroboros\core\interfaces\api\BaseApi
{
/**
* Designates the type of this Api Interface, and what realm of
* responsibilities it is classified as.
*/
const API_TYPE = 'standards';
/**
* Determines the focused goal within the api type.
* The Api Scope reveals the underlying goal of this specific Api Interface,
* and what the specific purpose of this collection of classes, traits,
* and interfaces is meant to collectively accomplish.
*/
const API_SCOPE = 'interoperability';
/**
* Designates a parent package or namespace that this Api adheres to.
* This value should be false if no such parent exists,
* but this constant should still be declared.
*/
const API_PARENT_NAMESPACE = '\\Psr\\Http\\Message';
/**
* Designates the codex index for this Api, which can be used to reference
* this collection of classes, traits, and interfaces as a related family
* working toward a specific goal.
*
* This value should always be provided for any valid Api Interface.
*/
const API_CODEX = 'psr7';
/**
* Designates the default class used to satisfy \Psr\Http\Message\StreamInterface.
* This class may be used directly, and will be used by default within this
* system where no override substitution is provided.
* @extends \oroboros\core\abstracts\libraries\stream\AbstractStream
* @satisfies \oroboros\core\interfaces\contract\libraries\stream\StreamContract
* @satisfies \Psr\Http\Message\StreamInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const STREAM_CONCRETE_CLASS = '\\oroboros\\core\\libraries\\stream\\Stream';
/**
* Designates the abstract class used to satisfy \Psr\Http\Message\StreamInterface.
* This class may be extended to satisfy the requirements of the Psr-7 StreamInterface.
* @uses \oroboros\core\traits\libraries\stream\StreamTrait
* @satisfies \oroboros\core\interfaces\contract\libraries\stream\StreamContract
* @satisfies \Psr\Http\Message\StreamInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const STREAM_ABSTRACT_CLASS = '\\oroboros\\core\\abstracts\\libraries\\stream\\AbstractStream';
/**
* Designates the interface contract used to satisfy \Psr\Http\Message\StreamInterface.
* This interface extends \Psr\Http\Message\StreamInterface,
* and requires the internal expected methods required to construct a valid
* and functional instance, within the context of Oroboros Core.
*
* Any other class successfully implementing this contract can be substituted
* interchangeably throughout this system, and can be designated to be used
* internally entirely in place of the existing default.
*
* @extends \Psr\Http\Message\StreamInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const STREAM_CONTRACT = '\\oroboros\\core\\interfaces\\contract\\libraries\\stream\\StreamContract';
/**
* Designates the trait used to satisfy
* \oroboros\core\interfaces\contract\libraries\stream\StreamContract.
*
* This trait provides all of the methods required to satisfy the contract
* interface, and may be used on any class where it's methods are not
* colliding in order to make it compliant with this contract.
*
* Any other class successfully using this trait without method collision can
* implement the aforementioned contract without issue, making it a
* recognizable internal substitution in this system without additional effort.
*
* @satisfies \oroboros\core\interfaces\contract\libraries\stream\StreamContract
* @satisfies \Psr\Http\Message\StreamInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const STREAM_TRAIT = '\\oroboros\\core\\traits\\libraries\\stream\\StreamTrait';
/**
* Designates the default class used to satisfy \Psr\Http\Message\UriInterface.
* This class may be used directly, and will be used by default within this
* system where no override substitution is provided.
* @extends \oroboros\core\abstracts\libraries\uri\AbstractUri
* @satisfies \oroboros\core\interfaces\contract\libraries\uri\UriContract
* @satisfies \Psr\Http\Message\StreamInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const URI_CONCRETE_CLASS = '\\oroboros\\core\\libraries\\uri\\Uri';
/**
* Designates the abstract class used to satisfy \Psr\Http\Message\UriInterface.
* This class may be extended to satisfy the requirements of the Psr-7 UriInterface.
* @uses \oroboros\core\traits\libraries\uri\UriTrait
* @satisfies \oroboros\core\interfaces\contract\libraries\uri\UriContract
* @satisfies \Psr\Http\Message\UriInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const URI_ABSTRACT_CLASS = '\\oroboros\\core\\abstracts\\libraries\\uri\\AbstractUri';
/**
* Designates the interface contract used to satisfy \Psr\Http\Message\UriInterface.
* This interface extends \Psr\Http\Message\UriInterface,
* and requires the internal expected methods required to construct a valid
* and functional instance, within the context of Oroboros Core.
*
* Any other class successfully implementing this contract can be substituted
* interchangeably throughout this system, and can be designated to be used
* internally entirely in place of the existing default.
*
* @extends \Psr\Http\Message\UriInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const URI_CONTRACT = '\\oroboros\\core\\interfaces\\contract\\libraries\\uri\\UriContract';
/**
* Designates the trait used to satisfy
* \oroboros\core\interfaces\contract\libraries\uri\UriContract.
*
* This trait provides all of the methods required to satisfy the contract
* interface, and may be used on any class where it's methods are not
* colliding in order to make it compliant with this contract.
*
* Any other class successfully using this trait without method collision can
* implement the aforementioned contract without issue, making it a
* recognizable internal substitution in this system without additional effort.
*
* @satisfies \oroboros\core\interfaces\contract\libraries\uri\UriContract
* @satisfies \Psr\Http\Message\UriInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const URI_TRAIT = '\\oroboros\\core\\traits\\libraries\\uri\\UriTrait';
/**
* Designates the default class used to satisfy \Psr\Http\Message\UploadedFileInterface.
* This class may be used directly, and will be used by default within this
* system where no override substitution is provided.
* @extends \oroboros\core\abstracts\libraries\file\AbstractFileUpload
* @satisfies \oroboros\core\interfaces\contract\libraries\file\UploadedFileContract
* @satisfies \Psr\Http\Message\UploadedFileInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const UPLOADEDFILE_CONCRETE_CLASS = '\\oroboros\\core\\libraries\\file\\FileUpload';
/**
* Designates the abstract class used to satisfy \Psr\Http\Message\UploadedFileInterface.
* This class may be extended to satisfy the requirements of the Psr-7 UriInterface.
* @uses \oroboros\core\traits\libraries\file\UploadedFileTrait
* @satisfies \oroboros\core\interfaces\contract\libraries\file\UploadedFileContract
* @satisfies \Psr\Http\Message\UploadedFileInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const UPLOADEDFILE_ABSTRACT_CLASS = '\\oroboros\\core\\abstracts\\libraries\\file\\AbstractFileUpload';
/**
* Designates the interface contract used to satisfy \Psr\Http\Message\UploadedFileInterface.
* This interface extends \Psr\Http\Message\UploadedFileInterface,
* and requires the internal expected methods required to construct a valid
* and functional instance, within the context of Oroboros Core.
*
* Any other class successfully implementing this contract can be substituted
* interchangeably throughout this system, and can be designated to be used
* internally entirely in place of the existing default.
*
* @extends \Psr\Http\Message\UploadedFileInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const UPLOADEDFILE_CONTRACT = '\\oroboros\\core\\interfaces\\contract\\libraries\\file\\UploadedFileContract';
/**
* Designates the trait used to satisfy
* \oroboros\core\interfaces\contract\libraries\file\UploadedFileContract.
*
* This trait provides all of the methods required to satisfy the contract
* interface, and may be used on any class where it's methods are not
* colliding in order to make it compliant with this contract.
*
* Any other class successfully using this trait without method collision can
* implement the aforementioned contract without issue, making it a
* recognizable internal substitution in this system without additional effort.
*
* @satisfies \oroboros\core\interfaces\contract\libraries\file\UploadedFileContract
* @satisfies \Psr\Http\Message\UriInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const UPLOADEDFILE_TRAIT = '\\oroboros\\core\\traits\\libraries\\file\\UploadedFileTrait';
/**
* Designates the default class used to satisfy \Psr\Http\Message\UploadedFileInterface.
* This class may be used directly, and will be used by default within this
* system where no override substitution is provided.
* @extends \oroboros\core\abstracts\libraries\stream\AbstractMessage
* @satisfies \oroboros\core\interfaces\contract\libraries\stream\MessageContract
* @satisfies \Psr\Http\Message\UploadedFileInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const MESSAGE_CONCRETE_CLASS = '\\oroboros\\core\\libraries\\stream\\Message';
/**
* Designates the abstract class used to satisfy \Psr\Http\Message\MessageInterface.
* This class may be extended to satisfy the requirements of the Psr-7 MessageInterface.
* @uses \oroboros\core\traits\libraries\stream\MessageTrait
* @satisfies \oroboros\core\interfaces\contract\libraries\stream\MessageContract
* @satisfies \Psr\Http\Message\MessageInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const MESSAGE_ABSTRACT_CLASS = '\\oroboros\\core\\abstracts\\libraries\\stream\\AbstractMessage';
/**
* Designates the interface contract used to satisfy \Psr\Http\Message\MessageInterface.
* This interface extends \Psr\Http\Message\MessageInterface,
* and requires the internal expected methods required to construct a valid
* and functional instance, within the context of Oroboros Core.
*
* Any other class successfully implementing this contract can be substituted
* interchangeably throughout this system, and can be designated to be used
* internally entirely in place of the existing default.
*
* @extends \Psr\Http\Message\MessageInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const MESSAGE_CONTRACT = '\\oroboros\\core\\interfaces\\contract\\libraries\\stream\\MessageContract';
/**
* Designates the trait used to satisfy
* \oroboros\core\interfaces\contract\libraries\stream\MessageContract.
*
* This trait provides all of the methods required to satisfy the contract
* interface, and may be used on any class where it's methods are not
* colliding in order to make it compliant with this contract.
*
* Any other class successfully using this trait without method collision can
* implement the aforementioned contract without issue, making it a
* recognizable internal substitution in this system without additional effort.
*
* @satisfies \oroboros\core\interfaces\contract\libraries\stream\MessageContract
* @satisfies \Psr\Http\Message\MessageInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const MESSAGE_TRAIT = '\\oroboros\\core\\traits\\libraries\\stream\\MessageTrait';
/**
* Designates the default class used to satisfy \Psr\Http\Message\MequestInterface.
* This class may be used directly, and will be used by default within this
* system where no override substitution is provided.
* @extends \oroboros\core\abstracts\libraries\message\AbstractMessage
* @satisfies \oroboros\core\interfaces\contract\libraries\message\MessageContract
* @satisfies \Psr\Http\Message\MequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const REQUEST_CONCRETE_CLASS = '\\oroboros\\core\\libraries\\request\\Request';
/**
* Designates the abstract class used to satisfy \Psr\Http\Message\RequestInterface.
* This class may be extended to satisfy the requirements of the Psr-7 RequestInterface.
* @uses \oroboros\core\traits\libraries\request\RequestTrait
* @satisfies \oroboros\core\interfaces\contract\libraries\file\RequestContract
* @satisfies \Psr\Http\Message\RequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const REQUEST_ABSTRACT_CLASS = '\\oroboros\\core\\abstracts\\libraries\\request\\AbstractRequest';
/**
* Designates the interface contract used to satisfy \Psr\Http\Message\RequestInterface.
* This interface extends \Psr\Http\Message\RequestInterface,
* and requires the internal expected methods required to construct a valid
* and functional instance, within the context of Oroboros Core.
*
* Any other class successfully implementing this contract can be substituted
* interchangeably throughout this system, and can be designated to be used
* internally entirely in place of the existing default.
*
* @extends \Psr\Http\Message\RequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const REQUEST_CONTRACT = '\\oroboros\\core\\interfaces\\contract\\libraries\\request\\RequestContract';
/**
* Designates the trait used to satisfy
* \oroboros\core\interfaces\contract\libraries\request\RequestContract.
*
* This trait provides all of the methods required to satisfy the contract
* interface, and may be used on any class where it's methods are not
* colliding in order to make it compliant with this contract.
*
* Any other class successfully using this trait without method collision can
* implement the aforementioned contract without issue, making it a
* recognizable internal substitution in this system without additional effort.
*
* @satisfies \oroboros\core\interfaces\contract\libraries\request\RequestContract
* @satisfies \Psr\Http\Message\RequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const REQUEST_TRAIT = '\\oroboros\\core\\traits\\libraries\\request\\RequestTrait';
/**
* Designates the default class used to satisfy \Psr\Http\Message\ResponseInterface.
* This class may be used directly, and will be used by default within this
* system where no override substitution is provided.
* @extends \oroboros\core\abstracts\libraries\response\AbstractResponse
* @satisfies \oroboros\core\interfaces\contract\libraries\response\ResponseContract
* @satisfies \Psr\Http\Message\ResponseInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const RESPONSE_CONCRETE_CLASS = '\\oroboros\\core\\libraries\\response\\Response';
/**
* Designates the abstract class used to satisfy \Psr\Http\Message\ResponseInterface.
* This class may be extended to satisfy the requirements of the Psr-7 ResponseInterface.
* @uses \oroboros\core\traits\libraries\response\ResponseTrait
* @satisfies \oroboros\core\interfaces\contract\libraries\response\ResponseContract
* @satisfies \Psr\Http\Message\ResponseInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const RESPONSE_ABSTRACT_CLASS = '\\oroboros\\core\\abstracts\\libraries\\response\\AbstractResponse';
/**
* Designates the interface contract used to satisfy \Psr\Http\Message\ResponseInterface.
* This interface extends \Psr\Http\Message\ResponseInterface,
* and requires the internal expected methods required to construct a valid
* and functional instance, within the context of Oroboros Core.
*
* Any other class successfully implementing this contract can be substituted
* interchangeably throughout this system, and can be designated to be used
* internally entirely in place of the existing default.
*
* @extends \Psr\Http\Message\ResponseInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const RESPONSE_CONTRACT = '\\oroboros\\core\\interfaces\\contract\\libraries\\response\\ResponseContract';
/**
* Designates the trait used to satisfy
* \oroboros\core\interfaces\contract\libraries\file\ResponseContract.
*
* This trait provides all of the methods required to satisfy the contract
* interface, and may be used on any class where it's methods are not
* colliding in order to make it compliant with this contract.
*
* Any other class successfully using this trait without method collision can
* implement the aforementioned contract without issue, making it a
* recognizable internal substitution in this system without additional effort.
*
* @satisfies \oroboros\core\interfaces\contract\libraries\file\ResponseContract
* @satisfies \Psr\Http\Message\ResponseInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const RESPONSE_TRAIT = '\\oroboros\\core\\traits\\libraries\\response\\ResponseTrait';
/**
* Designates the default class used to satisfy \Psr\Http\Message\ServerRequestInterface.
* This class may be used directly, and will be used by default within this
* system where no override substitution is provided.
* @extends \oroboros\core\abstracts\libraries\request\AbstractServerRequest
* @satisfies \oroboros\core\interfaces\contract\libraries\request\ServerRequestContract
* @satisfies \Psr\Http\Message\ServerRequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const SERVERREQUEST_CONCRETE_CLASS = '\\oroboros\\core\\libraries\\request\\ServerRequest';
/**
* Designates the abstract class used to satisfy \Psr\Http\Message\ServerRequestInterface.
* This class may be extended to satisfy the requirements of the Psr-7 ServerRequestInterface.
* @uses \oroboros\core\traits\libraries\file\UploadedFileTrait
* @satisfies \oroboros\core\interfaces\contract\libraries\request\ServerRequestContract
* @satisfies \Psr\Http\Message\ServerRequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const SERVERREQUEST_ABSTRACT_CLASS = '\\oroboros\\core\\abstracts\\libraries\\request\\AbstractServerRequest';
/**
* Designates the interface contract used to satisfy \Psr\Http\Message\ServerRequestInterface.
* This interface extends \Psr\Http\Message\ServerRequestInterface,
* and requires the internal expected methods required to construct a valid
* and functional instance, within the context of Oroboros Core.
*
* Any other class successfully implementing this contract can be substituted
* interchangeably throughout this system, and can be designated to be used
* internally entirely in place of the existing default.
*
* @extends \Psr\Http\Message\ServerRequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const SERVERREQUEST_CONTRACT = '\\oroboros\\core\\interfaces\\contract\\libraries\\request\\ServerRequestContract';
/**
* Designates the trait used to satisfy
* \oroboros\core\interfaces\contract\libraries\request\ServerRequestContract.
*
* This trait provides all of the methods required to satisfy the contract
* interface, and may be used on any class where it's methods are not
* colliding in order to make it compliant with this contract.
*
* Any other class successfully using this trait without method collision can
* implement the aforementioned contract without issue, making it a
* recognizable internal substitution in this system without additional effort.
*
* @satisfies \oroboros\core\interfaces\contract\libraries\request\ServerRequestContract
* @satisfies \Psr\Http\Message\ServerRequestInterface
* @link http://www.php-fig.org/psr/psr-7/
*/
const SERVERREQUEST_TRAIT = '\\oroboros\\core\\traits\\libraries\\request\\ServerRequestTrait';
}