Interface BaseEnumerated
As Enumerated Api Interfaces only provide distinct key value stores, they should be used with the following considerations:
These interfaces DO NOT enforce methods. 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.
Direct known implementers
oroboros\core\interfaces\enumerated\environment\BaseEnvironmentApi
,
oroboros\core\interfaces\enumerated\environment\BuildEnvironmentApi
,
oroboros\core\interfaces\enumerated\flags\OutputFlagApi
,
oroboros\core\interfaces\enumerated\http\RequestHeaders
,
oroboros\core\interfaces\enumerated\http\ResponseHeaders
,
oroboros\core\interfaces\enumerated\http\StatusCodes
,
oroboros\core\interfaces\enumerated\views\ViewOutputApi
,
oroboros\core\interfaces\enumerated\environment\CgiEnvironmentApi
,
oroboros\core\interfaces\enumerated\environment\ClientEnvironmentApi
,
oroboros\core\interfaces\enumerated\environment\CoreEnvironmentApi
,
oroboros\core\interfaces\enumerated\environment\EnvironmentApi
,
oroboros\core\interfaces\enumerated\environment\HttpEnvironmentApi
,
oroboros\core\interfaces\enumerated\environment\ProjectEnvironmentApi
,
oroboros\core\interfaces\enumerated\environment\ServerEnvironmentApi
,
oroboros\core\interfaces\enumerated\flags\FlagApi
Indirect known implementers
oroboros\core\libraries\enum\http\RequestHeaders
,
oroboros\core\libraries\enum\http\ResponseHeaders
,
oroboros\core\libraries\enum\http\StatusCodes
Package: oroboros\core\abstraction
Category: enumerated-interfaces
License: The MIT License (MIT)
Author: Brian Dayhoff mopsyd@me.com
Version: 0.2.4-alpha
Since: 0.2.4-alpha
See:
\oroboros\core\traits\libraries\enum\EnumTrait
There are also sets of provided defaults under the concrete namespace
See: \oroboros\core\libraries\enum
Link: bitbucket.org/oroborosframework/oroboros-core/wiki/development/api/enumerated_api_interface.md
Located at core/interfaces/enumerated/BaseEnumerated.php