original_string: public function domain($domain = null)
      {
          if (is_null($domain)) {
              return $this->getDomain();
          }
  
          $this->action['domain'] = $domain;
  
          return $this;
      }
code: public function domain($domain = null)
      {
          if (is_null($domain)) {
              return $this->getDomain();
          }
  
          $this->action['domain'] = $domain;
  
          return $this;
      }
code_tokens: public function domain ( $ domain = null ) { if ( is_null ( $ domain ) ) { return $ this -> getDomain ( ) ; } $ this -> action [ 'domain' ] = $ domain ; return $ this ; }
docstring: Get or set the domain for the route.
  
  @param  string|null  $domain
  @return $this|string|null
docstring_tokens: Get or set the domain for the route .