public function getDataSource($id) { if (isset($this->datasources[$id])) { return $this->datasources[$id]; } }