An interface defining the methods that the console runner depend on.
Interface for applications that configure and use a dependency injection container.
Interface for the Dependency Injection Container in CakePHP applications
This interface extends the PSR-11 container interface and adds methods to add services and service providers to the container.
The methods defined in this interface use the conventions provided by league/container as that is the library that CakePHP uses.
An interface defining the methods that the http server depend on.
Interface for Applications that leverage plugins & events.
Events can be bound to the application event manager during the application's bootstrap and plugin bootstrap.
Plugin Interface
App is responsible for resource location, and path management.
Additional paths for Templates and Plugins are configured with Configure now. See config/app.php for an
example. The App.paths.plugins and App.paths.templates variables are used to configure paths for plugins
and templates respectively. All class based resources should be mapped using your application's autoloader.
You can inspect the currently loaded paths using App::classPath('Controller') for example to see loaded
controller paths.
It is also possible to inspect paths for plugin classes, for instance, to get
the path to a plugin's helpers you would call App::classPath('View/Helper', 'MyPlugin')
Plugins can be located with App as well. Using Plugin::path('DebugKit') for example, will give you the full path to the DebugKit plugin.
Base Plugin Class
Every plugin should extends from this class or implement the interfaces and include a plugin class in it's src root folder.
ClassLoader
Configuration class. Used for managing runtime configuration information.
Provides features for reading and writing to the runtime configuration, as well as methods for loading additional configuration files or storing runtime configuration for future use.
Dependency Injection container
Based on the container out of League\Container
Acts as a registry/factory for objects.
Provides registry & factory functionality for object types. Used as a super class for various composition based re-use features in CakePHP.
Each subclass needs to implement the various abstract methods to complete the template method load().
The ObjectRegistry is EventManager aware, but each extending class will need to use \Cake\Event\EventDispatcherTrait to attach and detach on set and bind
Plugin is used to load and locate plugins.
It also can retrieve plugin paths and load their bootstrap and routes files.
Plugin Collection
Holds onto plugin objects loaded into an application, and provides methods for iterating, and finding plugins based on criteria.
This class implements the Iterator interface to allow plugins to be iterated, handling the situation where a plugin's hook method (usually bootstrap) loads another plugin during iteration.
While its implementation supported nested iteration it does not
support using continue or break inside loops.
Read-only wrapper for configuration data
Intended for use with Cake\Core\Container as a typehintable way for services to have application configuration injected as arrays cannot be typehinted.
Container ServiceProvider
Service provider bundle related services together helping to organize your application's dependencies. They also help improve performance of applications with many services by allowing service registration to be deferred until services are needed.
Provides methods that allow other classes access to conventions based inflections.
A trait for reading and writing instance config
Implementing objects are expected to declare a $_defaultConfig property.
A trait that provides a set of static methods to manage configuration for classes that provide an adapter facade or need to have sets of configuration data registered and manipulated.
Implementing objects are expected to declare a static $_dsnClassMap property.