getCarrier() публичный Метод

Get the name of the carrier in a human readable format
public getCarrier ( ) : string
Результат string
Пример #1
0
 public function testCarrier()
 {
     $device = new Device();
     $device->setIdentification(['manufacturer' => 'NEC', 'model' => 'N2002', 'carrier' => 'DoCoMo']);
     $this->assertEquals('DoCoMo', $device->getCarrier());
     $this->assertEquals('DoCoMo', $device->carrier);
     $this->assertEquals(false, $device->generic);
 }