Exemple #1
0
 /**
  * @covers MultiMaps\Point::getData
  */
 public function testGetData()
 {
     $this->assertEquals($this->object->getData(), array('lat' => 123, 'lon' => 321));
 }
Exemple #2
0
 /**
  * Returns an array of data
  * @return array
  */
 public function getData()
 {
     if ($this->isValid()) {
         return array('ne' => $this->northEast->getData(), 'sw' => $this->southWest->getData());
     }
 }