protected function saveFeature(RolloutableInterface $feature)
    {
        $this->storage->set($this->getKey($feature->getName()), (string)$feature);
        $features = $this->getFeatures();
        if (false === in_array($feature->getName(), $features)) {
            $features[] = $feature->getName();
        }
        $this->storage->set($this->getFeaturesKey(), implode(',', $features));
    }
protected function saveFeature(RolloutableInterface $feature)
    {
        $this->storage->set($this->getKey($feature->getName()), (string)$feature);
        $features = $this->getFeatures();
        if (false === in_array($feature->getName(), $features)) {
            $features[] = $feature->getName();
        }
        $this->storage->set($this->getFeaturesKey(), implode(',', $features));
    }
protected function saveFeature ( RolloutableInterface $ feature ) { $ this -> storage -> set ( $ this -> getKey ( $ feature -> getName ( ) ) , ( string ) $ feature ) ; $ features = $ this -> getFeatures ( ) ; if ( false === in_array ( $ feature -> getName ( ) , $ features ) ) { $ features [ ] = $ feature -> getName ( ) ; } $ this -> storage -> set ( $ this -> getFeaturesKey ( ) , implode ( ',' , $ features ) ) ; }
Saves a feature to the storage
@param RolloutableInterface $feature
Saves a feature to the storage