Final Class Yiisoft\Proxy\Config\TypeConfig
| Inheritance | Yiisoft\Proxy\Config\TypeConfig |
|---|
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $allowsNull | boolean | Whether the null values are allowed. | Yiisoft\Proxy\Config\TypeConfig |
| $name | string | The string representation of a type, for example: int, bool, etc. |
Yiisoft\Proxy\Config\TypeConfig |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Proxy\Config\TypeConfig |
Property Details
Method Details
| public mixed __construct ( string $name, boolean $allowsNull ) | ||
| $name | string | |
| $allowsNull | boolean | |
public function __construct(
/**
* @var string The string representation of a type, for example: `int`, `bool`, etc. In case of a class it's a
* full path including namespace, for example `Yiisoft\Proxy\Tests\Stub\Node`. For built-in classes like
* `ArrayIterator` the leading slash is not included.
*
* @link https://www.php.net/manual/en/language.types.declarations.php
*/
public string $name,
/**
* @var bool Whether the null values are allowed.
*
* @link https://www.php.net/manual/en/migration71.new-features.php#migration71.new-features.nullable-types
*/
public bool $allowsNull,
) {
}
Signup or Login in order to comment.