@snapshotpl 
```php
throw new InvalidArgumentException(sprintf(
    '%s can only dispatch requests in a console environment',
    get_called_class()
));
```