Bart\Configuration\TestConfig::speed PHP Method

speed() public method

public speed ( )
    public function speed()
    {
        return $this->getValue('travel', 'speed', null, false);
    }

Usage Example

Beispiel #1
0
 public function testNotRequiredConfigsWhenMissingWithNullDefault()
 {
     $configs = new TestConfig();
     $configs->configureForTesting(self::$sampleConfigs);
     $this->assertNull($configs->speed(), 'Speed configuration');
 }