public function getName() { if (null !== $this->name) { return $this->name; } $this->name = str_replace('\\', '', $this->getNamespace()); return $this->name; }