Basic Controller and Service
This commit is contained in:
9
app/common/Ideal/Controller.php
Normal file
9
app/common/Ideal/Controller.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
namespace Incoviba\Common\Ideal;
|
||||||
|
|
||||||
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
|
abstract class Controller
|
||||||
|
{
|
||||||
|
public function __construct(protected LoggerInterface $logger) {}
|
||||||
|
}
|
9
app/common/Ideal/Service.php
Normal file
9
app/common/Ideal/Service.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
namespace Incoviba\Common\Ideal;
|
||||||
|
|
||||||
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
|
abstract class Service
|
||||||
|
{
|
||||||
|
public function __construct(protected LoggerInterface $logger) {}
|
||||||
|
}
|
Reference in New Issue
Block a user