Trait AdapterTrait
Traits provide extended method support to classes without requiring a direct, linear chain of inheritance. This allows functions to inherit subsets of related methods without declaring a parent class.
In Oroboros core, ALL methods are granted to classes via traits, and the classes themselves are just containers that correlate their methods to an interface they are expected to honor. This approach maximizes interoperability, by entirely removing class inheritance as a requirement for extension of any class in this system.
3rd parties using this package are not expected to follow this approach,
but ALL of our internal class and logic structure does.
- oroboros\core\traits\adapters\AdapterTrait uses oroboros\core\traits\patterns\structural\ControlApi, oroboros\core\traits\utilities\LoaderTrait, oroboros\core\traits\utilities\DefaultLoggerTrait
Package: oroboros\core\
Category: contract-interfaces
License: The MIT License (MIT)
Author: Brian Dayhoff mopsyd@me.com
Version
Since
Link: bitbucket.org/oroborosframework/oroboros-core/wiki/development/api/contract_interface.md
Located at core/traits/adapters/AdapterTrait.php
Methods summary
public
|
|
public
|
|
public
|
|
protected
|
Methods used from oroboros\core\traits\patterns\structural\ControlApi
__call()
,
_constructControlWorkerMethodName()
,
_getControlMethodApi()
,
_loadMethod()
,
_registerControlMethodSet()
,
_reverseParseControlMethodName()
,
_runControlMethod()
,
_splitAtUpperCase()
,
api()
Methods used from oroboros\core\traits\utilities\LoaderTrait
Methods used from oroboros\core\traits\utilities\DefaultLoggerTrait
Properties summary
private
array
|
$_allowed_loader_types
These are the types of resources that can be loaded with the $this->load method |
#
array(
"library",
"module",
)
|
Properties used from oroboros\core\traits\patterns\structural\ControlApi
Properties used from oroboros\core\traits\utilities\LoaderTrait
$_LoaderTrait_allowed_types
,
$_LoaderTrait_factory
,
$_LoaderTrait_loader_initialized
,
$_LoaderTrait_loader_types