- Bugfixes and work done on the console
This commit is contained in:
1 parent
23af120020
commit
7194a33bec
6 files changed
+71
-15
No files matched your search
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Lean\Console\Controller;
|
||||
|
||||
use Psr\Http\Message\{ ResponseInterface, ServerRequestInterface };
|
||||
|
||||
use Notes\Route\Annotation\Object\Route as RouteParam,
|
||||
Notes\Route\Annotation\Method\Route,
|
||||
Notes\Security\Annotation\Security,
|
||||
Notes\Tell\Annotation\Language;
|
||||
|
||||
use \Lean\Console\Lib;
|
||||
|
||||
/**
|
||||
* @Language("lean.dev")
|
||||
*/
|
||||
class Dev {
|
||||
use Lib\ConsoleControllerTrait;
|
||||
|
||||
/**
|
||||
* @Route("/phpinfo", "name" => "lean.dev:phpinfo")
|
||||
*/
|
||||
public function home(ServerRequestInterface $request, array $arguments) : ResponseInterface
|
||||
{
|
||||
phpinfo();
|
||||
die();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user