public function createEnvironment() { $backend = $this->getBackend(); if ($backend) { return $backend->createEnvironment($this); } throw new Exception("Unable to find backend."); }