PHP Class Webmozart\Console\Adapter\StyleConverter

Since: 1.0
Author: Bernhard Schussek ([email protected])
Afficher le fichier Open project: webmozart/console Class Usage Examples

Méthodes publiques

Méthode Description
convert ( Style $style ) : Symfony\Component\Console\Formatter\OutputFormatterStyle Converts a {@link Style} instance to an {@link OutputFormatterStyle}.

Private Methods

Méthode Description
__construct ( )

Method Details

convert() public static méthode

Converts a {@link Style} instance to an {@link OutputFormatterStyle}.
public static convert ( Style $style ) : Symfony\Component\Console\Formatter\OutputFormatterStyle
$style Webmozart\Console\Api\Formatter\Style The style to convert.
Résultat Symfony\Component\Console\Formatter\OutputFormatterStyle The converted style.