Interface EnvironmentApi
This is the master interface for environmental runtime constants. The interfaces extended by this interface represent the collective parameters of runtime that the system expects to apply. For interoperability between http and cgi, bootload will provide all parameters in a nulled state even if they do not apply to the current runtime environment, to maximize compatibility of application logic with both environments.
Individual EnvironmentApi's narrow this to a specific scope, so that extending classes do not need to pull the full set if it is not required. This interface is provided as an index of all environment parameters and their source definitions, so individual source EnvironmentApi's can be referenced accordingly. This approach provides for easy scalability and scope consideration, where sets can be paired down into multiple files and granularly catalogued as needed
throughout ongoing development.
Enumerated Api Interfaces Enumerated Api Interfaces provide sets of fixed, enumerated values that must maintain consistency, and should not be overridden at compile time.
In some cases, these values are considered absolute, and the program will always reference them as defined. In other cases, they provide baseline definitions, which the individual api implementing them may allow for extension upon. In these cases, the fixed values MAY NOT be removed or altered, but additions and aliases will be allowed for. Check the api of the individual contract being considered for extension for information
how to accomplish this as it applies.
- oroboros\core\interfaces\enumerated\environment\EnvironmentApi implements oroboros\core\interfaces\enumerated\BaseEnumerated, oroboros\core\interfaces\enumerated\environment\CgiEnvironmentApi, oroboros\core\interfaces\enumerated\environment\HttpEnvironmentApi, oroboros\core\interfaces\enumerated\environment\ServerEnvironmentApi, oroboros\core\interfaces\enumerated\environment\ClientEnvironmentApi, oroboros\core\interfaces\enumerated\environment\CoreEnvironmentApi, oroboros\core\interfaces\enumerated\environment\BuildEnvironmentApi, oroboros\core\interfaces\enumerated\environment\ProjectEnvironmentApi
Package: oroboros\core\environment
Category: enumerated-interfaces
License: The MIT License (MIT)
Author: Brian Dayhoff mopsyd@me.com
Version: 0.2.4-alpha
Since: 0.2.4-alpha
Link: bitbucket.org/oroborosframework/oroboros-core/wiki/development/api/enumerated_api_interface.md
Located at core/interfaces/enumerated/environment/EnvironmentApi.php
Constants summary
Constants inherited from oroboros\core\interfaces\enumerated\environment\CgiEnvironmentApi
Constants inherited from oroboros\core\interfaces\enumerated\environment\HttpEnvironmentApi
IS_AJAX
,
IS_HTTP
,
IS_SSL
,
REQUEST_METHOD
,
REQUEST_URI
,
REQUEST_URL
Constants inherited from oroboros\core\interfaces\enumerated\environment\ServerEnvironmentApi
Constants inherited from oroboros\core\interfaces\enumerated\environment\CoreEnvironmentApi
BIN_DIRECTORY
,
CACHE_DIRECTORY
,
CONFIG_DIRECTORY
,
DEPENDENCY_DIRECTORY
,
DOCUMENTATION_DIRECTORY
,
ERROR_LOG
,
LIB_DIRECTORY
,
LOCAL_TMP_DIRECTORY
,
MODULE_DIRECTORY
,
ROOT_DIRECTORY
,
ROOT_NAMESPACE
,
ROUTINE_DIRECTORY
,
SERVICE_DIRECTORY
,
SRC_DIRECTORY
,
TEMPLATE_DIRECTORY
,
TEMP_DIRECTORY
,
TEST_DIRECTORY
,
THEME_DIRECTORY
,
VENDOR_DIRECTORY