Final Class Yiisoft\Db\Migration\Service\Generate\ForeignKey
| Inheritance | Yiisoft\Db\Migration\Service\Generate\ForeignKey |
|---|
Public Methods
Method Details
| public __construct( string $indexName, string $foreignKeyName, string|null $column, string $relatedTable, string $relatedColumn ): mixed | ||
| $indexName | string | |
| $foreignKeyName | string | |
| $column | string|null | |
| $relatedTable | string | |
| $relatedColumn | string | |
public function __construct(
private readonly string $indexName,
private readonly string $foreignKeyName,
private readonly ?string $column,
private readonly string $relatedTable,
private readonly string $relatedColumn,
) {}
| public getForeignKeyName( ): string |
public function getForeignKeyName(): string
{
return $this->foreignKeyName;
}
| public getRelatedColumn( ): string |
public function getRelatedColumn(): string
{
return $this->relatedColumn;
}
| public getRelatedTable( ): string |
public function getRelatedTable(): string
{
return $this->relatedTable;
}
Signup or Login in order to comment.