1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | /* |
||
6 | * This file is part of the Micro framework package. |
||
7 | * |
||
8 | * (c) Stanislau Komar <[email protected]> |
||
9 | * |
||
10 | * For the full copyright and license information, please view the LICENSE |
||
11 | * file that was distributed with this source code. |
||
12 | */ |
||
13 | |||
14 | namespace Micro\Library\DTO\Preparation; |
||
15 | |||
16 | use Micro\Library\DTO\ClassDef\ClassDefinition; |
||
17 | |||
18 | interface PreparationProcessorInterface |
||
19 | { |
||
20 | public const SECTION_PROPERTIES = 'property'; |
||
21 | |||
22 | public const PROP_ACTION_NAME = 'actionName'; |
||
23 | public const PROP_NAME = 'name'; |
||
24 | public const PROP_TYPE_IS_COLLECTION = 'is_collection'; |
||
25 | public const PROP_TYPE = 'type'; |
||
26 | public const PROP_TYPE_FULLNAME = 'type_full'; |
||
27 | public const PROP_TYPE_ARG = 'prop_type_arg'; |
||
28 | public const PROP_COMMENTS = 'prop_comments'; |
||
29 | public const PROP_REQUIRED = 'required'; |
||
30 | |||
31 | public const METHOD_TYPE_ARG = 'method_type_arg'; |
||
32 | public const METHOD_GET_COMMENTS = 'method_get_comments'; |
||
33 | public const METHOD_SET_COMMENTS = 'method_set_comments'; |
||
34 | public const METHOD_GET_BODY = 'method_get_body'; |
||
35 | public const METHOD_SET_BODY = 'method_set_body'; |
||
36 | public const METHOD_GET_RETURN_TYPE = 'method_get_type_return'; |
||
37 | |||
38 | public const DEPRECATED = 'deprecated'; |
||
39 | public const DESCRIPTION = 'description'; |
||
40 | |||
41 | public const CLASS_USE_STATEMENTS = 'useStatements'; |
||
42 | public const CLASS_NAMESPACE = 'namespace'; |
||
43 | public const CLASS_NAME = 'name'; |
||
44 | public const CLASS_PROPS_META = 'meta'; |
||
45 | |||
46 | public const CLASS_PROPS_META_METHOD = 'attributesMetadata'; |
||
47 | |||
48 | /** |
||
49 | * @param array<string, mixed> $classDef |
||
50 | * @param ClassDefinition $classDefinition |
||
51 | * @param class-string[] $classList |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
![]() |
|||
52 | * |
||
53 | * @return void |
||
54 | */ |
||
55 | public function process(array $classDef, ClassDefinition $classDefinition, array $classList): void; |
||
56 | } |
||
57 |