/** * Create a new Streamlines application instance. * * @param \Phprest\Config $phprestConfig * @param string|null $basePath */ public function __construct(PhprestConfig $phprestConfig, $basePath = null) { parent::__construct($phprestConfig); if ($basePath !== null) { $this->setBasePath($basePath); } $this->config = new Config($this->configPath()); }