1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-31 03:10:19 +02:00

latest 20171218

This commit is contained in:
Sebastian
2017-12-18 10:20:36 +01:00
parent 4cb743c2ae
commit 5fa14fb838
18 changed files with 175 additions and 115 deletions

View File

@@ -5,23 +5,17 @@ namespace Typemill;
use \Symfony\Component\EventDispatcher\EventSubscriberInterface;
abstract class Plugin implements EventSubscriberInterface
{
private $app;
{
private $container;
/**
* Constructor.
* Constructor
*
* @param string $name
* @param Grav $grav
* @param Config $config
*/
public function __construct($container, $app)
public function __construct($container)
{
$this->container = $container;
$this->app = $app;
}
protected function getRoute()