Class Yiisoft\Yii\Cycle\Schema\Conveyor\MetadataSchemaConveyor
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
The class is left not final for expansion
Protected Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $container | \ |
Yiisoft\ |
|
| $conveyor | array | Yiisoft\ |
Public Methods
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| getMetadataReader() | Yiisoft\ |
Method Details
| public mixed __construct ( \ | ||
| $container | \ |
|
public function __construct(protected ContainerInterface $container) {}
| public void addEntityPaths ( string[] $paths ) | ||
| $paths | string[] | |
final public function addEntityPaths(array $paths): void
{
$this->entityPaths = array_merge($this->entityPaths, $paths);
}
| public void addGenerator ( string $stage, mixed $generator ) | ||
| $stage | string | |
| $generator | mixed | |
public function addGenerator(string $stage, $generator): void
{
$this->conveyor[$stage][] = $generator;
}
| public array getGenerators ( ) |
public function getGenerators(): array
{
$this->addMetadataGenerators();
return parent::getGenerators();
}
| protected ?\ |
protected function getMetadataReader(): ?ReaderInterface
{
return new AttributeReader();
}
| public integer getTableNaming ( ) |
final public function getTableNaming(): int
{
return $this->tableNaming;
}
| public void setTableNaming ( integer $type ) | ||
| $type | integer | |
final public function setTableNaming(
#[ExpectedValues(valuesFromClass: Entities::class)]
int $type,
): void {
$this->tableNaming = $type;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.