/** * Create runner * * @param \Phrozn\Autoloader $loader Instance of auto-loader * @param array $paths Folder paths */ public function __construct($loader) { $this->paths = $loader->getPaths(); $this->loader = $loader; // load main config $this->config = Yaml::load($this->paths['configs'] . 'phrozn.yml'); }