Framework
final class Framework extends Singleton
The wrappper class for a proprietary set of code which seeks to facilitate WordPress development and encourage use of the documented coding standards.
(https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/)
Constants
| VERSION |
|
| COMPATIBILITY_VERSIONS |
|
Properties
| static protected Singleton[] | $_instances | from Singleton | |
| protected Autoloader | $autoloader | ||
| protected array | $plugins |
Methods
Protected constructor to prevent multiple Framework instances from being created. Instantiate the Shadow Plugin.
Maybe initialize singleton instance and return the instance.
A short one-liner tool to get a ReflectionClass so we can get runtime info for the static class instance and not this abstract.
Return the current framework verion.
Return the WPPF\v1_2_2\Autoloader instance.
Details
at line 64
final protected
__construct()
Protected constructor to prevent multiple Framework instances from being created. Instantiate the Shadow Plugin.
in
Singleton at line 42
final static Singleton
instance(mixed $args = null)
Maybe initialize singleton instance and return the instance.
in
Singleton at line 63
final static array
get_instances()
Return a copy of the instances array.
in
Singleton at line 72
final protected ReflectionClass
get_class_reflection()
A short one-liner tool to get a ReflectionClass so we can get runtime info for the static class instance and not this abstract.
at line 59
final static string
get_version()
Return the current framework verion.
at line 73
final Autoloader
get_autoloader()
Return the WPPF\v1_2_2\Autoloader instance.
at line 82
final
register_plugin(Plugin $Plugin)
Add a plugin instance to the list of registered plugins.