-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDependencyInjectionInterface.php
executable file
·54 lines (44 loc) · 1.28 KB
/
DependencyInjectionInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
declare(strict_types=1);
/*
* This file is part of the Micro framework package.
*
* (c) Stanislau Komar <kost@micro-php.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Micro\Library\DTO;
use Micro\Library\DTO\Helper\ClassMetadataHelper;
use Micro\Library\DTO\Preparation\CollectionPreparationInterface;
use Micro\Library\DTO\Reader\ReaderInterface;
use Micro\Library\DTO\View\RendererInterface;
use Micro\Library\DTO\Writer\WriterInterface;
use Psr\Log\LoggerInterface;
interface DependencyInjectionInterface
{
/**
* @return LoggerInterface
*/
public function getLogger(): LoggerInterface;
/**
* @return CollectionPreparationInterface
*/
public function createClassPreparationProcessor(): CollectionPreparationInterface;
/**
* @return ClassMetadataHelper
*/
public function createClassMetadataHelper(): ClassMetadataHelper;
/**
* @return WriterInterface
*/
public function createWriter(): WriterInterface;
/**
* @return ReaderInterface
*/
public function createReader(): ReaderInterface;
/**
* @return RendererInterface
*/
public function createRenderer(): RendererInterface;
}