src/Dwo/FlaggingBundle/Config/FeatureManager.php
public function findFeatureByName($name)
    {
        if (!isset($this->features[$name]) && isset($this->featuresRaw[$name])) {
            $this->features[$name] = FeatureFactory::buildFeature($name, $this->featuresRaw[$name]);
        }

        return isset($this->features[$name]) ? $this->features[$name] : null;
    }
public function findFeatureByName($name)
    {
        if (!isset($this->features[$name]) && isset($this->featuresRaw[$name])) {
            $this->features[$name] = FeatureFactory::buildFeature($name, $this->featuresRaw[$name]);
        }

        return isset($this->features[$name]) ? $this->features[$name] : null;
    }
@param string $name

@return FeatureInterface