public function activateUser($featureName, $userId)
    {
        $feature = $this->getFeature($featureName);
        $feature->addUser($userId);
        $this->saveFeature($feature);
    }
public function activateUser($featureName, $userId)
    {
        $feature = $this->getFeature($featureName);
        $feature->addUser($userId);
        $this->saveFeature($feature);
    }
public function activateUser ( $ featureName , $ userId ) { $ feature = $ this -> getFeature ( $ featureName ) ; $ feature -> addUser ( $ userId ) ; $ this -> saveFeature ( $ feature ) ; }
Activates a feature for a specific user
@param string $featureName
@param integer $userId
Activates a feature for a specific user