Class Yiisoft\YiiDevTool\App\Component\Package\PackageErrorList
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Countable, Iterator |
Public Methods
Method Details
| public mixed current ( ) |
#[ReturnTypeWillChange]
public function current()
{
return current($this->list);
}
| public boolean has ( Yiisoft\ | ||
| $package | Yiisoft\ |
|
public function has(Package $package): bool
{
return isset($this->list[$package->getId()]);
}
| public void set ( Yiisoft\ | ||
| $package | Yiisoft\ |
|
| $message | string | |
| $during | string | |
public function set(Package $package, string $message, string $during): void
{
$this->list[$package->getId()] = new PackageError($package, $message, $during);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.