vendor/symfony/console/Symfony/Component/Console/Application.php 1 location
|
@@ 629-636 (lines=8) @@
|
626 |
|
* |
627 |
|
* @deprecated Deprecated since version 2.3, to be removed in 3.0. |
628 |
|
*/ |
629 |
|
public function asText($namespace = null, $raw = false) |
630 |
|
{ |
631 |
|
$descriptor = new TextDescriptor(); |
632 |
|
$output = new BufferedOutput(BufferedOutput::VERBOSITY_NORMAL, !$raw); |
633 |
|
$descriptor->describe($output, $this, array('namespace' => $namespace, 'raw_output' => true)); |
634 |
|
|
635 |
|
return $output->fetch(); |
636 |
|
} |
637 |
|
|
638 |
|
/** |
639 |
|
* Returns an XML representation of the Application. |
vendor/symfony/console/Symfony/Component/Console/Command/Command.php 1 location
|
@@ 614-621 (lines=8) @@
|
611 |
|
* |
612 |
|
* @deprecated Deprecated since version 2.3, to be removed in 3.0. |
613 |
|
*/ |
614 |
|
public function asText() |
615 |
|
{ |
616 |
|
$descriptor = new TextDescriptor(); |
617 |
|
$output = new BufferedOutput(BufferedOutput::VERBOSITY_NORMAL, true); |
618 |
|
$descriptor->describe($output, $this, array('raw_output' => true)); |
619 |
|
|
620 |
|
return $output->fetch(); |
621 |
|
} |
622 |
|
|
623 |
|
/** |
624 |
|
* Returns an XML representation of the command. |
vendor/symfony/console/Symfony/Component/Console/Input/InputDefinition.php 1 location
|
@@ 422-429 (lines=8) @@
|
419 |
|
* |
420 |
|
* @deprecated Deprecated since version 2.3, to be removed in 3.0. |
421 |
|
*/ |
422 |
|
public function asText() |
423 |
|
{ |
424 |
|
$descriptor = new TextDescriptor(); |
425 |
|
$output = new BufferedOutput(BufferedOutput::VERBOSITY_NORMAL, true); |
426 |
|
$descriptor->describe($output, $this, array('raw_output' => true)); |
427 |
|
|
428 |
|
return $output->fetch(); |
429 |
|
} |
430 |
|
|
431 |
|
/** |
432 |
|
* Returns an XML representation of the InputDefinition. |