Added inline documentation.
This commit is contained in:
1 parent
d850fa1b02
commit
8cd280f12a
20 files changed
+175
-29
No files matched your search
@@ -9,8 +9,14 @@ use Rarst\Laps\Manager\Asset_Manager;
|
||||
use Rarst\Laps\Manager\Load_Order_Manager;
|
||||
use Rarst\Laps\Manager\Toolbar_Manager;
|
||||
|
||||
/**
|
||||
* Registers manager classes that implement functionality.
|
||||
*/
|
||||
class Manager_Provider implements ServiceProviderInterface, Bootable_Provider_Interface {
|
||||
|
||||
/**
|
||||
* @param Container $pimple Container instance.
|
||||
*/
|
||||
public function register( Container $pimple ) {
|
||||
|
||||
$pimple['managers'] = function ( Plugin $laps ) {
|
||||
@@ -22,6 +28,9 @@ class Manager_Provider implements ServiceProviderInterface, Bootable_Provider_In
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Plugin $laps Container instance.
|
||||
*/
|
||||
public function boot( Plugin $laps ) {
|
||||
$laps['managers'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user