/** * Returns alphabet i.e. all chars used in automat * @return string[] */ public function getAlphabet() { $result = $this->object->getAlphabet(); return $result === $this->object ? $this : $result; }