Example #1
0
 private function runConfigPropertyTest(ConfigInterface $config, $value)
 {
     $this->assertEquals(self::TEST_KEY, $config->getKey());
     $this->assertEquals(self::TEST_LABEL, $config->getLabel());
     $this->assertEquals($value, $config->getValue());
 }
Example #2
0
 public function unSelect(ConfigInterface $option)
 {
     unset($this->value[$option->getKey()]);
     return $this;
 }
Example #3
0
 public function __unset(ConfigInterface $config)
 {
     if (isset($this->config[$config->getKey()])) {
         unset($this->config[$config->getKey()]);
     }
 }