You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
524 B
PHTML
32 lines
524 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
|
namespace Engelsystem\Container;
|
||
|
|
||
|
use Engelsystem\Application;
|
||
|
|
||
|
abstract class ServiceProvider
|
||
|
{
|
||
|
/** @var Application */
|
||
|
protected $app;
|
||
|
|
||
|
/**
|
||
|
* ServiceProvider constructor.
|
||
|
*
|
||
|
* @param Application $app
|
||
|
*/
|
||
|
public function __construct(Application $app)
|
||
|
{
|
||
|
$this->app = $app;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Register container bindings
|
||
|
*/
|
||
|
public function register() { }
|
||
|
|
||
|
/**
|
||
|
* Called after other services had been registered
|
||
|
*/
|
||
|
public function boot() { }
|
||
|
}
|