protected function controlArguments()
    {
        if (!empty($this->current_route['arguments'])) {
            $submitted = $this->getArguments();
            if (!empty($submitted) && !array_intersect_key($submitted, $this->current_route['arguments'])) {
                $this->errorAndExit($this->text('Unsupported command arguments'));
            }
        }
    }
protected function controlArguments()
    {
        if (!empty($this->current_route['arguments'])) {
            $submitted = $this->getArguments();
            if (!empty($submitted) && !array_intersect_key($submitted, $this->current_route['arguments'])) {
                $this->errorAndExit($this->text('Unsupported command arguments'));
            }
        }
    }
protected function controlArguments ( ) { if ( ! empty ( $ this -> current_route [ 'arguments' ] ) ) { $ submitted = $ this -> getArguments ( ) ; if ( ! empty ( $ submitted ) && ! array_intersect_key ( $ submitted , $ this -> current_route [ 'arguments' ] ) ) { $ this -> errorAndExit ( $ this -> text ( 'Unsupported command arguments' ) ) ; } } }
Controls supported command arguments
Controls supported command arguments