- 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
@@ -7,24 +7,17 @@ use Picea\FileFetcher;
|
||||
use Picea\Picea;
|
||||
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 Notes\Tell\Attribute\Language, Notes\Route\Attribute\Method\Route;
|
||||
|
||||
use \Lean\Console\Lib;
|
||||
|
||||
use Picea\Extension\UrlExtension;
|
||||
|
||||
/**
|
||||
* @Language("lean.templating")
|
||||
*/
|
||||
#[Language("lean.templating")] # migrated from: "lean.templating"
|
||||
class Templating extends Console {
|
||||
use Lib\ConsoleControllerTrait;
|
||||
|
||||
/**
|
||||
* @Route("/templating/picea", "name" => "lean.console:templating.picea")
|
||||
*/
|
||||
#[Route(route: "/templating/picea", name: "lean.console:templating.picea")]
|
||||
public function picea(ServerRequestInterface $request, array $arguments) : ResponseInterface
|
||||
{
|
||||
$picea = $this->container->has(Picea::class) ? $this->container->get(Picea::class) : false;
|
||||
|
||||
Reference in new issue
Block a user