PHP Class Symfony\Bundle\FrameworkBundle\Console\Descriptor\Descriptor

Author: Jean-François Simon ([email protected])
Inheritance: implements Symfony\Component\Console\Descriptor\DescriptorInterface
Mostrar archivo Open project: symfony/symfony

Protected Properties

Property Type Description
$output Symfony\Component\Console\Output\OutputInterface

Public Methods

Method Description
describe ( Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [] )

Protected Methods

Method Description
describeCallable ( callable $callable, array $options = [] ) Describes a callable.
describeContainerAlias ( Alias $alias, array $options = [] ) Describes a service alias.
describeContainerDefinition ( Definition $definition, array $options = [] ) Describes a service definition.
describeContainerParameter ( string $parameter, array $options = [] ) Describes a container parameter.
describeContainerParameters ( ParameterBag $parameters, array $options = [] ) Describes container parameters.
describeContainerService ( Definition | Alias | object $service, array $options = [] ) Describes a container service by its name.
describeContainerServices ( ContainerBuilder $builder, array $options = [] ) Describes container services.
describeContainerTags ( ContainerBuilder $builder, array $options = [] ) Describes container tags.
describeEventDispatcherListeners ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, array $options = [] ) Describes event dispatcher listeners.
describeRoute ( Symfony\Component\Routing\Route $route, array $options = [] ) Describes an InputOption instance.
describeRouteCollection ( RouteCollection $routes, array $options = [] ) Describes an InputArgument instance.
findDefinitionsByTag ( ContainerBuilder $builder, boolean $showPrivate ) : array
formatParameter ( mixed $value ) : string Formats a parameter.
formatValue ( mixed $value ) : string Formats a value as string.
getOutput ( ) : Symfony\Component\Console\Output\OutputInterface Returns the output.
resolveServiceDefinition ( ContainerBuilder $builder, string $serviceId ) : mixed
sortParameters ( ParameterBag $parameters )
sortServiceIds ( array $serviceIds )
write ( string $content, boolean $decorated = false ) Writes content to output.

Method Details

describe() public method

public describe ( Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [] )
$output Symfony\Component\Console\Output\OutputInterface
$options array

describeCallable() abstract protected method

Describes a callable.
abstract protected describeCallable ( callable $callable, array $options = [] )
$callable callable
$options array

describeContainerAlias() abstract protected method

Describes a service alias.
abstract protected describeContainerAlias ( Alias $alias, array $options = [] )
$alias Symfony\Component\DependencyInjection\Alias
$options array

describeContainerDefinition() abstract protected method

Describes a service definition.
abstract protected describeContainerDefinition ( Definition $definition, array $options = [] )
$definition Symfony\Component\DependencyInjection\Definition
$options array

describeContainerParameter() abstract protected method

Describes a container parameter.
abstract protected describeContainerParameter ( string $parameter, array $options = [] )
$parameter string
$options array

describeContainerParameters() abstract protected method

Describes container parameters.
abstract protected describeContainerParameters ( ParameterBag $parameters, array $options = [] )
$parameters Symfony\Component\DependencyInjection\ParameterBag\ParameterBag
$options array

describeContainerService() abstract protected method

Common options are: * name: name of described service
abstract protected describeContainerService ( Definition | Alias | object $service, array $options = [] )
$service Symfony\Component\DependencyInjection\Definition | Symfony\Component\DependencyInjection\Alias | object
$options array

describeContainerServices() abstract protected method

Common options are: * tag: filters described services by given tag
abstract protected describeContainerServices ( ContainerBuilder $builder, array $options = [] )
$builder Symfony\Component\DependencyInjection\ContainerBuilder
$options array

describeContainerTags() abstract protected method

Describes container tags.
abstract protected describeContainerTags ( ContainerBuilder $builder, array $options = [] )
$builder Symfony\Component\DependencyInjection\ContainerBuilder
$options array

describeEventDispatcherListeners() abstract protected method

Common options are: * name: name of listened event
abstract protected describeEventDispatcherListeners ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, array $options = [] )
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$options array

describeRoute() abstract protected method

Describes an InputOption instance.
abstract protected describeRoute ( Symfony\Component\Routing\Route $route, array $options = [] )
$route Symfony\Component\Routing\Route
$options array

describeRouteCollection() abstract protected method

Describes an InputArgument instance.
abstract protected describeRouteCollection ( RouteCollection $routes, array $options = [] )
$routes Symfony\Component\Routing\RouteCollection
$options array

findDefinitionsByTag() protected method

protected findDefinitionsByTag ( ContainerBuilder $builder, boolean $showPrivate ) : array
$builder Symfony\Component\DependencyInjection\ContainerBuilder
$showPrivate boolean
return array

formatParameter() protected method

Formats a parameter.
protected formatParameter ( mixed $value ) : string
$value mixed
return string

formatValue() protected method

Formats a value as string.
protected formatValue ( mixed $value ) : string
$value mixed
return string

getOutput() protected method

Returns the output.
protected getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
return Symfony\Component\Console\Output\OutputInterface The output

resolveServiceDefinition() protected method

protected resolveServiceDefinition ( ContainerBuilder $builder, string $serviceId ) : mixed
$builder Symfony\Component\DependencyInjection\ContainerBuilder
$serviceId string
return mixed

sortParameters() protected method

protected sortParameters ( ParameterBag $parameters )
$parameters Symfony\Component\DependencyInjection\ParameterBag\ParameterBag

sortServiceIds() protected method

protected sortServiceIds ( array $serviceIds )
$serviceIds array

write() protected method

Writes content to output.
protected write ( string $content, boolean $decorated = false )
$content string
$decorated boolean

Property Details

$output protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $output
return Symfony\Component\Console\Output\OutputInterface