setUnits() 공개 메소드

public setUnits ( string $type )
$type string
예제 #1
0
파일: DMSTest.php 프로젝트: mjaschen/phpgeo
 /**
  * @covers Location\Formatter\Coordinate\DMS::setUnits
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Invalid unit type
  */
 public function testSetUnitsInvalidType()
 {
     $this->formatter->setUnits('invalid');
 }