original_string: public function setRouter($Router)
      {
          if (! is_object($Router) || ! $Router instanceof Router) {
              throw new \InvalidArgumentException(
                  'The Router Interface must be a valid Router Object'
              );
          }
          $this->Router = $Router;
  
          return true;
      }
code: public function setRouter($Router)
      {
          if (! is_object($Router) || ! $Router instanceof Router) {
              throw new \InvalidArgumentException(
                  'The Router Interface must be a valid Router Object'
              );
          }
          $this->Router = $Router;
  
          return true;
      }
code_tokens: public function setRouter ( $ Router ) { if ( ! is_object ( $ Router ) || ! $ Router instanceof Router ) { throw new \ InvalidArgumentException ( 'The Router Interface must be a valid Router Object' ) ; } $ this -> Router = $ Router ; return true ; }
docstring: check and set the router interface
  
  @param   Object  Instance of an Router
  @return  bool
  @throws  \InvalidArgumentException
docstring_tokens: check and set the router interface