* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class FrameworkFeature extends BaseFrameworkSystem implements Feature {
+class FrameworkFeature extends BaseFrameworkSystem {
// Exception code constants
const EXCEPTION_FEATURE_METHOD_NOT_CALLABLE = 0x400;
assert(self::isFeatureAvailable($featureName));
// Array for call-back
- $callable = array(self::$enabledFeatures[$featureName]['instance'], $featureMethod);
+ $callable = array(self::$enabledFeatures[$featureName]['instance'], 'featureMethod' . self::convertToClassName($featureMethod));
// So is the feature's method callable?
if (!is_callable($callable)) {