[WebServerBundle] removed obsolete ServerCommand abstract class

This commit is contained in:
Fabien Potencier 2017-05-23 07:48:36 +02:00
parent ad1f35fc72
commit 2125437c09
5 changed files with 8 additions and 29 deletions

View File

@ -1,25 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\WebServerBundle\Command;
use Symfony\Component\Console\Command\Command;
/**
* Base methods for commands related to a local web server.
*
* @author Christian Flothmann <christian.flothmann@xabbuh.de>
*
* @internal
*/
abstract class ServerCommand extends Command
{
}

View File

@ -13,6 +13,7 @@ namespace Symfony\Bundle\WebServerBundle\Command;
use Symfony\Bundle\WebServerBundle\WebServer;
use Symfony\Bundle\WebServerBundle\WebServerConfig;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
@ -26,7 +27,7 @@ use Symfony\Component\Process\Process;
*
* @author Michał Pipa <michal.pipa.xsolve@gmail.com>
*/
class ServerRunCommand extends ServerCommand
class ServerRunCommand extends Command
{
private $documentRoot;
private $environment;

View File

@ -13,6 +13,7 @@ namespace Symfony\Bundle\WebServerBundle\Command;
use Symfony\Bundle\WebServerBundle\WebServer;
use Symfony\Bundle\WebServerBundle\WebServerConfig;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@ -25,7 +26,7 @@ use Symfony\Component\Console\Style\SymfonyStyle;
*
* @author Christian Flothmann <christian.flothmann@xabbuh.de>
*/
class ServerStartCommand extends ServerCommand
class ServerStartCommand extends Command
{
private $documentRoot;
private $environment;

View File

@ -12,6 +12,7 @@
namespace Symfony\Bundle\WebServerBundle\Command;
use Symfony\Bundle\WebServerBundle\WebServer;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
@ -24,7 +25,7 @@ use Symfony\Component\Console\Style\SymfonyStyle;
*
* @author Christian Flothmann <christian.flothmann@xabbuh.de>
*/
class ServerStatusCommand extends ServerCommand
class ServerStatusCommand extends Command
{
/**
* {@inheritdoc}

View File

@ -12,6 +12,7 @@
namespace Symfony\Bundle\WebServerBundle\Command;
use Symfony\Bundle\WebServerBundle\WebServer;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
@ -23,7 +24,7 @@ use Symfony\Component\Console\Style\SymfonyStyle;
*
* @author Christian Flothmann <christian.flothmann@xabbuh.de>
*/
class ServerStopCommand extends ServerCommand
class ServerStopCommand extends Command
{
/**
* {@inheritdoc}