public function __construct($loader) { $this->paths = $loader->getPaths(); $this->loader = $loader; // load main config $this->config = Yaml::parse($this->paths['configs'] . 'phrozn.yml'); }