eZ\Publish\Core\FieldType\MapLocation\Value::__toString PHP Method

__toString() public method

Returns a string representation of the keyword value.
public __toString ( ) : string
return string A comma separated list of tags, eg: "php, eZ Publish, html5"
    public function __toString()
    {
        if (is_array($this->address)) {
            return implode(', ', $this->address);
        }
        return (string) $this->address;
    }