public function asText(bool $extended = false): string {
        $event = new OutputOpEvent($this, ['extended' => $extended]);
        $this->fireOperationEvent(OutputOpEvent::AS_TEXT_EVENT, $event);
        return $event->getResults();
    }
public function asText(bool $extended = false): string {
        $event = new OutputOpEvent($this, ['extended' => $extended]);
        $this->fireOperationEvent(OutputOpEvent::AS_TEXT_EVENT, $event);
        return $event->getResults();
    }
public function asText ( bool $ extended = false ) : string { $ event = new OutputOpEvent ( $ this , [ 'extended' => $ extended ] ) ; $ this -> fireOperationEvent ( OutputOpEvent :: AS_TEXT_EVENT , $ event ) ; return $ event -> getResults ( ) ; }
Exports this Geometry object to a specific Well-known Text Representation.

@param bool $extended true will export to Extended Well-known Text
Exports this Geometry object to a specific Well - known Text Representation .