Interface DeclarativeRoutineContract
Appropriate use cases for this construct include wrapping files that declare global constants, global procedural functions that are not object oriented, or namespaced procedural functions that are not object oriented.
These can then be wrapped inside a safe object, that will include them in a safe manner (ie: not including them if they have already been included).
Contract interfaces enforce expected behavior in a non-colliding way. They are tasked with enforcing methods, and extending interfaces provided by standards and other packages for compatibility.
All valid oroboros classes MUST extend at
least one Contract Interface to be considered valid.
- oroboros\core\interfaces\contract\routines\declarative\DeclarativeRoutineContract implements oroboros\core\interfaces\contract\routines\RoutineContract
Package: oroboros\core\routines
Category: contract-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/contract_interface.md
Located at core/interfaces/contract/routines/declarative/DeclarativeRoutineContract.php