protected function getMethodByKey($key)
    {
        $method = explode('-', str_replace(self::DOOZR_COMMAND_PREFIX, '', $key));

        foreach ($method as $key => $node) {
            $method[$key] = ucfirst($node);
        }

        return 'set'.implode('', $method);
    }
protected function getMethodByKey($key)
    {
        $method = explode('-', str_replace(self::DOOZR_COMMAND_PREFIX, '', $key));

        foreach ($method as $key => $node) {
            $method[$key] = ucfirst($node);
        }

        return 'set'.implode('', $method);
    }
protected function getMethodByKey ( $ key ) { $ method = explode ( '-' , str_replace ( self :: DOOZR_COMMAND_PREFIX , '' , $ key ) ) ; foreach ( $ method as $ key => $ node ) { $ method [ $ key ] = ucfirst ( $ node ) ; } return 'set' . implode ( '' , $ method ) ; }
Returns the method name of a Doozr function by passed key.

@param string $key The key to return method name for

@return string
Returns the method name of a Doozr function by passed key .