- WIP on Lean's event definition
This commit is contained in:
1 parent
42f33d9f13
commit
156defddc9
3 files changed
+15
-7
No files matched your search
@@ -20,8 +20,8 @@ use function file_get_contents;
|
||||
#[Route(method: [ "GET", "POST" ])]
|
||||
trait ControllerTrait {
|
||||
|
||||
#[Inject]
|
||||
public \Notes\Breadcrumb\Breadcrumb $breadcrumb;
|
||||
##[Inject]
|
||||
# public \Notes\Breadcrumb\Breadcrumb $breadcrumb;
|
||||
|
||||
#[Inject]
|
||||
public Session $session;
|
||||
|
||||
@@ -6,6 +6,7 @@ use Lean\Routing;
|
||||
use Notes\Route\Attribute\Method\Route;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Psr\Http\Message\{ ResponseInterface, ServerRequestInterface };
|
||||
use Ulmus\User\Entity\UserInterface;
|
||||
|
||||
interface RoutingMapRoutes {
|
||||
public function execute(Routing $routing, ContainerInterface $container, ServerRequestInterface & $request, Route $attribute) : void;
|
||||
|
||||
Reference in new issue
Block a user