namespace Symfony\Component\Finder\Shell;
-@trigger_error('The '.__NAMESPACE__.'\Command class is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
+@trigger_error('The '.__NAMESPACE__.'\Command class is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
/**
* @author Jean-François Simon <contact@jfsimon.fr>
*/
class Command
{
- /**
- * @var Command|null
- */
private $parent;
-
- /**
- * @var array
- */
private $bits = array();
-
- /**
- * @var array
- */
private $labels = array();
/**
*/
private $errorHandler;
- /**
- * Constructor.
- *
- * @param Command|null $parent Parent command
- */
public function __construct(Command $parent = null)
{
$this->parent = $parent;
/**
* Creates a new Command instance.
*
- * @param Command|null $parent Parent command
- *
* @return self
*/
public static function create(Command $parent = null)
}
/**
- * @param \Closure $errorHandler
- *
* @return $this
*/
public function setErrorHandler(\Closure $errorHandler)