Beispiel #1
0
 /**
  * @covers VariableApi::delAll
  */
 public function testDelAll()
 {
     $this->assertCount(3, $this->api->getAll('BarExtension'));
     $this->assertTrue($this->api->delAll('BarExtension'));
     $this->assertEquals([], $this->api->getAll('BarExtension'));
 }
 /**
  * Convenience shortcut to get all Extension Variables.
  * @return array
  */
 public function getVars()
 {
     return $this->variableApi->getAll($this->extensionName);
 }