RunserverCommand
final class RunserverCommand extends Command (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Constants
NAME |
|
Properties
protected | $uri |
Methods
Instantiates a new instance of the implementing class using autowiring.
Starts a background browser/tab for the current site or a specified URL.
No description
No description
No description
Determine the URI to use for this server.
Parse a URI or partial URI (including just a port, host IP or path).
Details
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
bool
startBrowser(string|null $uri = null, int $sleep = 0, int|null $port = null, string|bool $browser = false)
Starts a background browser/tab for the current site or a specified URL.
Uses a non-blocking Process call, so Drush execution will continue.
static bool
programExists($program)
No description
static string
getEditor(string|null $editor = null)
No description
__construct(BootstrapManager $bootstrapManager, DrushConfig $drushConfig, LoggerInterface $logger, ProcessManager $processManager)
No description
protected void
configure()
No description
int
execute(InputInterface $input, OutputInterface $output)
No description
array
uri($uri, $options)
Determine the URI to use for this server.
array
parseUri(string|null $uri)
Parse a URI or partial URI (including just a port, host IP or path).