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
@ -77,7 +77,9 @@ abstract class AbstractPicoPlugin implements PicoPluginInterface
|
|||||||
private $dependants;
|
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)
|
public function __construct(Pico $pico)
|
||||||
{
|
{
|
||||||
|
@ -30,13 +30,6 @@
|
|||||||
*/
|
*/
|
||||||
interface PicoPluginInterface
|
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
|
* Handles a event that was triggered by Pico
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user