pocketmine\level\Location::__toString PHP Method

__toString() public method

public __toString ( )
    public function __toString()
    {
        return "Location (level=" . ($this->isValid() ? $this->getLevel()->getName() : "null") . ", x={$this->x}, y={$this->y}, z={$this->z}, yaw={$this->yaw}, pitch={$this->pitch})";
    }