Overview

Namespaces

  • NGS
    • Client
      • Exception
    • Converter
    • Patterns
  • PHP

Classes

  • BigDecimal
  • BigInt
  • ByteStream
  • LocalDate
  • Location
  • Money
  • Name
  • Point
  • S3
  • Timestamp
  • Utils
  • UUID
  • Overview
  • Namespace
  • Class
  • Tree

Class Point

NGS\Location
Extended by NGS\Point
Namespace: NGS
Located at Point.php
Methods summary
public
# __construct( mixed $x = 0, mixed $y = 0 )

Overrides

NGS\Location::__construct()
public static array
# toArray( array $items, mixed $allowNullValues = false )

Constructs array of Points from array of valid constructor arguments

Constructs array of Points from array of valid constructor arguments

Parameters

$items
array
$items
$allowNullValues

Returns

array

Throws

InvalidArgumentException

Overrides

NGS\Location::toArray()
public
# setX( mixed $value )

Overrides

NGS\Location::setX()
public
# setY( mixed $value )

Overrides

NGS\Location::setY()
public
# __toString( )

Overrides

NGS\Location::__toString()
Methods inherited from NGS\Location
__get(), __set(), asArray(), toArrayList()
Properties inherited from NGS\Location
$x, $y
API documentation generated by ApiGen 2.8.0