0 follower

Interface Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface

Implemented byYiisoft\Yii\Cycle\Schema\Conveyor\MetadataSchemaConveyor, Yiisoft\Yii\Cycle\Schema\Conveyor\SchemaConveyor

Constants

Hide inherited 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

Hide inherited methods

addGenerator() public abstract method

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;

            
getGenerators() public abstract method

public abstract \Cycle\Schema\GeneratorInterface[] getGenerators ( )
throws Yiisoft\Yii\Cycle\Exception\BadGeneratorDeclarationException

                public function getGenerators(): array;