Final Class Yiisoft\Hydrator\Attribute\Parameter\Collection
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Converts the resolved value to array of instances of the class specified in {@see Collection::$className}.
Non-resolved and invalid values are skipped.
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $className | string | Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| getResolver() | Yiisoft\ |
Property Details
Method Details
| public mixed __construct ( string $className ) | ||
| $className | string | |
public function __construct(
public readonly string $className,
) {}
| public string getResolver ( ) |
public function getResolver(): string
{
return CollectionResolver::class;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.