Final Class Yiisoft\Yii\Gii\GeneratorProxy
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| getClass() | Yiisoft\ |
|
| loadGenerator() | Yiisoft\ |
Method Details
| public mixed __construct ( Closure $loader, string $class ) | ||
| $loader | Closure | |
| $class | string | |
public function __construct(private readonly Closure $loader, private readonly string $class) {}
| public class-string<\Yiisoft\Yii\Gii\GeneratorInterface> getClass ( ) |
public function getClass(): string
{
return $this->class;
}
| public Yiisoft\ |
public function loadGenerator(): GeneratorInterface
{
return $this->generator ??= ($this->loader)();
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.