Gets the first part of the name, i.e. everything before the first namespace separator.
string First part of the name
public function getFirst() : string { if (false !== ($pos = \strpos($this->name, '\\'))) { return \substr($this->name, 0, $pos); } return $this->name; }