20230926#1

This commit is contained in:
User committed 2023-09-26 16:49:41 +03:00
1 parent 4ea833db5a
commit 4c087a156b
3 files changed
+2 -19

No files matched your search

@@ -13,22 +13,6 @@ use Rmphp\Kernel\Main;
abstract class AbstractController extends Main {
/**
* @param string $name
* @return mixed|void
*/
public function containerGet(string $name) {
try {
return $this->container()->get($name);
}
catch (NotFoundExceptionInterface $notFoundException){
$this->syslogger()->error($notFoundException->getMessage());
}
catch (ContainerExceptionInterface $containerException){
$this->syslogger()->error($containerException->getMessage());
}
}
/**
* @param \Throwable $throwable
* @param array $data