public function disallowMethod($class, $method = null)
    {
        if (is_array($class)) {
            foreach ($class as $elem) {
                unset($this->allowedMethods[strtolower($elem[0])][strtolower($elem[1])]);
            }
        } else {
            unset($this->allowedMethods[strtolower($class)][strtolower($method)]);
        }
    }
public function disallowMethod($class, $method = null)
    {
        if (is_array($class)) {
            foreach ($class as $elem) {
                unset($this->allowedMethods[strtolower($elem[0])][strtolower($elem[1])]);
            }
        } else {
            unset($this->allowedMethods[strtolower($class)][strtolower($method)]);
        }
    }
public function disallowMethod ( $ class , $ method = null ) { if ( is_array ( $ class ) ) { foreach ( $ class as $ elem ) { unset ( $ this -> allowedMethods [ strtolower ( $ elem [ 0 ] ) ] [ strtolower ( $ elem [ 1 ] ) ] ) ; } } else { unset ( $ this -> allowedMethods [ strtolower ( $ class ) ] [ strtolower ( $ method ) ] ) ; } }
Removes a class method from the allowed list.

@param mixed  $class  class name or array of array('class', 'method') couples
@param string $method method name
Removes a class method from the allowed list .