public function setResourceDirectories(&$options) { $this->setSourceDirectory($options); $this->setChannelDirectory($options); }