public function allowMethods(array $excepted)
    {
        if (count($excepted) == 0) {
            throw new AccessControlException(
                'Parameter is empty.',
                E_USER_ERROR
            );
        }

        return $this->push('Access-Control-Allow-Methods', implode(', ', $excepted));
    }
public function allowMethods(array $excepted)
    {
        if (count($excepted) == 0) {
            throw new AccessControlException(
                'Parameter is empty.',
                E_USER_ERROR
            );
        }

        return $this->push('Access-Control-Allow-Methods', implode(', ', $excepted));
    }
public function allowMethods ( array $ excepted ) { if ( count ( $ excepted ) == 0 ) { throw new AccessControlException ( 'Parameter is empty.' , E_USER_ERROR ) ; } return $ this -> push ( 'Access-Control-Allow-Methods' , implode ( ', ' , $ excepted ) ) ; }
Active Access-control-Allow-Methods

@param  array $excepted

@return AccessControl

@throws AccessControlException
Active Access - control - Allow - Methods