feat : Decorator Container
This commit is contained in:
@@ -20,12 +20,16 @@ class DecoratorController extends AbstractController
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: 'basic', methods: 'GET')]
|
||||
public function basic()
|
||||
public function basic(): array
|
||||
{
|
||||
return (new BasicService)->handle();
|
||||
}
|
||||
|
||||
public function container()
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: 'container', methods: 'GET')]
|
||||
public function container(): array
|
||||
{
|
||||
return (new ContainerService)->handle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user