public function allow($methods = [])
    {
        $methods = $methods ? (array) $methods : [];
        $methods = array_map('strtoupper', $methods);
        $this->_methods = array_fill_keys($methods, true) + $this->_methods;
        return $this;
    }
public function allow($methods = [])
    {
        $methods = $methods ? (array) $methods : [];
        $methods = array_map('strtoupper', $methods);
        $this->_methods = array_fill_keys($methods, true) + $this->_methods;
        return $this;
    }
public function allow ( $ methods = [ ] ) { $ methods = $ methods ? ( array ) $ methods : [ ] ; $ methods = array_map ( 'strtoupper' , $ methods ) ; $ this -> _methods = array_fill_keys ( $ methods , true ) + $ this -> _methods ; return $ this ; }
Allows additionnal methods.

@param  string|array $methods The methods to allow.
@return self
Allows additionnal methods .