/** * Creates the configuration. * * @param Puli $puli The Puli service container. */ public function __construct(Puli $puli = null) { // Start Puli already so that plugins can change the CLI configuration $this->puli = $puli ?: new Puli(getcwd()); if (!$this->puli->isStarted()) { $this->puli->start(); } parent::__construct(); }