Browscap\Data\Platform::getProperties PHP Method

getProperties() public method

public getProperties ( ) : string[]
return string[]
    public function getProperties()
    {
        return $this->properties;
    }

Usage Example

Beispiel #1
0
 /**
  * tests setter and getter for the match property
  *
  * @group data
  * @group sourcetest
  */
 public function testGetter()
 {
     $match = 'TestMatchName';
     $properties = ['abc' => 'def'];
     $object = new Platform($match, $properties, true, false);
     self::assertSame($match, $object->getMatch());
     self::assertSame($properties, $object->getProperties());
     $this->assertTrue($object->isLite());
     $this->assertFalse($object->isStandard());
 }
All Usage Examples Of Browscap\Data\Platform::getProperties