This commit is contained in:
xl
2024-09-04 10:07:59 +08:00
parent fdf7757b6a
commit 95254ac300
2 changed files with 31 additions and 14 deletions
-13
View File
@@ -4,24 +4,11 @@ declare(strict_types=1);
namespace Kiri\Abstracts;
use Kiri;
use Psr\Container\ContainerInterface;
/**
* Class Providers
* @package Kiri\Abstracts
* @property-read ContainerInterface $container
*/
abstract class Providers extends Component implements Provider
{
/**
* @return ContainerInterface
*/
public function getContainer(): ContainerInterface
{
return Kiri::getDi();
}
}