Interface Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface
| Implemented by | Yiisoft\Yii\Cycle\Schema\Conveyor\MetadataSchemaConveyor, Yiisoft\Yii\Cycle\Schema\Conveyor\SchemaConveyor |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| addGenerator() | Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface | |
| getGenerators() | Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface |
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| STAGE_INDEX | 'index' | Declare entities and their fields | Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface |
| STAGE_POSTPROCESS | 'postprocess' | Post processing | Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface |
| STAGE_RENDER | 'render' | Render tables and relations | Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface |
| STAGE_USERLAND | 'userland' | Userland scripts | Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface |
Method Details
| public abstract void addGenerator ( self::STAGE_* $stage, Closure|\Cycle\Schema\GeneratorInterface|string $generator ) | ||
| $stage | self::STAGE_* | |
| $generator | Closure|\Cycle\Schema\GeneratorInterface|string | |
public function addGenerator(string $stage, mixed $generator): void;
| public abstract \Cycle\Schema\GeneratorInterface[] getGenerators ( ) | ||
| throws | Yiisoft\Yii\Cycle\Exception\BadGeneratorDeclarationException | |
|---|---|---|
public function getGenerators(): array;
Signup or Login in order to comment.