Webmozart\Console\Api\Config\Config::__construct PHP Method

__construct() public method

Creates a new configuration.
public __construct ( )
    public function __construct()
    {
        $this->formatBuilder = new ArgsFormatBuilder();
        $this->configure();
    }

Usage Example

Example #1
0
 /**
  * Creates a new console application.
  *
  * @param string $name    The name of the application.
  * @param string $version The application version.
  */
 public function __construct($name = null, $version = null)
 {
     $this->name = $name;
     $this->version = $version;
     parent::__construct();
 }
All Usage Examples Of Webmozart\Console\Api\Config\Config::__construct