PHP Class Webmozart\Console\UI\Component\NameVersion

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: implements Webmozart\Console\UI\Component
Show file Open project: webmozart/console Class Usage Examples

Public Methods

Method Description
__construct ( ApplicationConfig $config ) Creates the renderer.
render ( IO $io, integer $indentation ) Renders the name and version.

Method Details

__construct() public method

Creates the renderer.
public __construct ( ApplicationConfig $config )
$config Webmozart\Console\Api\Config\ApplicationConfig The application configuration.

render() public method

Renders the name and version.
public render ( IO $io, integer $indentation )
$io Webmozart\Console\Api\IO\IO The I/O.
$indentation integer The number of spaces to indent.