public function __construct() { $config = (object) Kohana::config("akamai"); $this->url = $config->url; $this->username = $config->user; $this->password = $config->password; $this->rootDir = $config->rootdir; parent::__construct($this->url, $this->username, $this->password); }