public function get($name) { if (!$this->exists($name)) { return null; } return $this->commands[$name]; }