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:
Daniel Rudolf 2019-09-11 12:03:58 +02:00
parent eca06a38a9
commit d72bc24ab3
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538
2 changed files with 3 additions and 8 deletions

View file

@ -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)
{

View file

@ -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
*