- Some bugfixes were made and annotations were converted into attributes
This commit is contained in:
1 parent
9c8f9903fc
commit
6ff29a576c
14 files changed
+247
-113
No files matched your search
@@ -3,31 +3,18 @@
|
||||
namespace Lean\Console\Controller;
|
||||
|
||||
use League\Route\Router;
|
||||
use Picea\Caching\Opcache;
|
||||
use Picea\FileFetcher;
|
||||
use Picea\Picea;
|
||||
use Picea\{ FileFetcher, Picea ,Caching\Opcache, Extension\UrlExtension };
|
||||
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\{ Form, Lib };
|
||||
|
||||
use Picea\Extension\UrlExtension;
|
||||
use Notes\Tell\Attribute\Language, Notes\Route\Attribute\Method\Route;
|
||||
|
||||
use function Home\View\{ _, lang, url, route, form };
|
||||
|
||||
/**
|
||||
* @Language("lean.caching")
|
||||
*/
|
||||
#[Language("lean.caching")]
|
||||
class Caching extends Console {
|
||||
use Lib\ConsoleControllerTrait;
|
||||
|
||||
/**
|
||||
* @Route("/caching/picea", "name" => "lean.console:caching")
|
||||
*/
|
||||
#[Route(route: "/caching/picea", name: "lean.console:caching")]
|
||||
public function picea(ServerRequestInterface $request, array $arguments) : ResponseInterface
|
||||
{
|
||||
$list = [];
|
||||
|
||||
Reference in new issue
Block a user