Added proper providers to handle registration and boot.
This commit is contained in:
1 parent
48b3383e06
commit
06e3bb4657
10 files changed
+95
-97
No files matched your search
@@ -2,23 +2,16 @@
|
||||
|
||||
namespace Rarst\Laps\Manager;
|
||||
|
||||
use Pimple\Container;
|
||||
use Pimple\ServiceProviderInterface;
|
||||
use Rarst\Laps\Bootable_Provider_Interface;
|
||||
use Rarst\Laps\Record\Recursive_Record_Iterator;
|
||||
use Rarst\Laps\Laps;
|
||||
use Rarst\Laps\Timeline_Iterator;
|
||||
|
||||
class Toolbar_Manager implements ServiceProviderInterface, Bootable_Provider_Interface {
|
||||
class Toolbar_Manager {
|
||||
|
||||
/** @var Laps $laps */
|
||||
protected $laps;
|
||||
|
||||
public function register( Container $pimple ) {
|
||||
|
||||
}
|
||||
|
||||
public function boot( Laps $laps ) {
|
||||
public function __construct( Laps $laps ) {
|
||||
|
||||
$this->laps = $laps;
|
||||
|
||||
|
||||
Reference in new issue
Block a user