Example #1
0
 /**
  * Removes a property
  *
  * @param array|string $props The property to remove
  *
  * @return mixed The value of the removed property
  */
 public function remove($props)
 {
     $conf = $this->conf->getConfig();
     $value = $this->doRemove($conf, $this->arrayize($props));
     $this->conf->setConfig($conf);
     return $value;
 }
 public function __construct(ConfigurationInterface $configuration)
 {
     $this->configuration = $configuration;
     $this->cache = $configuration->isSetup() ? $this->configuration->getConfig() : [];
 }