public function __construct($options = array()) { if (count($options)) { $this->setConfig($options)->getEnvironment(); } }