Remove PicoPluginInterface::__construct()
It doesn't really matter how the current Pico instance is injected into the plugin unless PicoPluginInterface::getPico() is implemented
This commit is contained in:
parent
eca06a38a9
commit
d72bc24ab3
2 changed files with 3 additions and 8 deletions
|
@ -77,7 +77,9 @@ abstract class AbstractPicoPlugin implements PicoPluginInterface
|
|||
private $dependants;
|
||||
|
||||
/**
|
||||
* @see PicoPluginInterface::__construct()
|
||||
* Constructs a new instance of a Pico plugin
|
||||
*
|
||||
* @param Pico $pico current instance of Pico
|
||||
*/
|
||||
public function __construct(Pico $pico)
|
||||
{
|
||||
|
|
|
@ -30,13 +30,6 @@
|
|||
*/
|
||||
interface PicoPluginInterface
|
||||
{
|
||||
/**
|
||||
* Constructs a new instance of a Pico plugin
|
||||
*
|
||||
* @param Pico $pico current instance of Pico
|
||||
*/
|
||||
public function __construct(Pico $pico);
|
||||
|
||||
/**
|
||||
* Handles a event that was triggered by Pico
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue