Browscap\Data\DataCollection::getDefaultProperties PHP Метод

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

Get the divisions array containing UA data
public getDefaultProperties ( ) : Division
Результат Division
    public function getDefaultProperties()
    {
        return $this->defaultProperties;
    }

Usage Example

Пример #1
0
 /**
  * checks if the default properties are added sucessfully
  *
  * @group data
  * @group sourcetest
  */
 public function testAddDefaultProperties()
 {
     self::assertSame($this->object, $this->object->addDefaultProperties(__DIR__ . '/../../fixtures/ua/default-properties.json'));
     $division = $this->object->getDefaultProperties();
     self::assertInstanceOf('\\Browscap\\Data\\Division', $division);
     self::assertSame('DefaultProperties', $division->getName());
 }
All Usage Examples Of Browscap\Data\DataCollection::getDefaultProperties