PHP:
There is no
Читать далее...
Код:
public function setImageFromExisting(): bool
{
$path = $this->resource->getAbstractedIconPath();
if (!$this->app->fs()->has($path))
{
new \InvalidArgumentException(
"Resource does not have an icon ({$path})"
);
}
throw
on that new \InvalidArgumentException
lineЧитать далее...