public function withEntityName(GeneralNames $names): self
    {
        $obj = clone $this;
        $obj->_entityName = $names;
        return $obj;
    }
public function withEntityName(GeneralNames $names): self
    {
        $obj = clone $this;
        $obj->_entityName = $names;
        return $obj;
    }
public function withEntityName ( GeneralNames $ names ) : self { $ obj = clone $ this ; $ obj -> _entityName = $ names ; return $ obj ; }
Get self with entity name.

@param GeneralNames $names
@return self
Get self with entity name .