Dumplie\SharedKernel\Application\Exception\ServiceContainer\ServiceNotFoundException::withId PHP Метод

withId() публичный статический Метод

public static withId ( string $id ) : ServiceNotFoundException
$id string
Результат ServiceNotFoundException
    public static function withId(string $id) : ServiceNotFoundException
    {
        return new static(sprintf("Service with id \"%s\" can't be found by service locator.", $id));
    }
ServiceNotFoundException