Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0 / 0 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
|
| <?php | |
| declare(strict_types = 1); | |
| namespace Siesta\Contract; | |
| use Siesta\CodeGenerator\CodeGenerator; | |
| use Siesta\Model\Entity; | |
| /** | |
| * @author Gregor Müller | |
| */ | |
| interface Plugin | |
| { | |
| /** | |
| * @param Entity $entity | |
| * | |
| * @return array | |
| */ | |
| public function getUseClassNameList(Entity $entity) : array; | |
| /** | |
| * @return string[] | |
| */ | |
| public function getDependantPluginList() : array; | |
| /** | |
| * @return array | |
| */ | |
| public function getInterfaceList() : array; | |
| /** | |
| * @param Entity $entity | |
| * @param CodeGenerator $codeGenerator | |
| */ | |
| public function generate(Entity $entity, CodeGenerator $codeGenerator); | |
| } |