original_string: public function checkValidProperties()
      {
          if (!$this->controller && !$this->action && !$this->callable) {
              throw new \Parable\Routing\Exception('Either a controller/action combination or callable is required.');
          }
          if (empty($this->methods)) {
              throw new \Parable\Routing\Exception('Methods are required and must be passed as an array.');
          }
          return $this;
      }
code: public function checkValidProperties()
      {
          if (!$this->controller && !$this->action && !$this->callable) {
              throw new \Parable\Routing\Exception('Either a controller/action combination or callable is required.');
          }
          if (empty($this->methods)) {
              throw new \Parable\Routing\Exception('Methods are required and must be passed as an array.');
          }
          return $this;
      }
code_tokens: public function checkValidProperties ( ) { if ( ! $ this -> controller && ! $ this -> action && ! $ this -> callable ) { throw new \ Parable \ Routing \ Exception ( 'Either a controller/action combination or callable is required.' ) ; } if ( empty ( $ this -> methods ) ) { throw new \ Parable \ Routing \ Exception ( 'Methods are required and must be passed as an array.' ) ; } return $ this ; }
docstring: Check whether a valid set of properties is set.
  
  @return $this
  @throws \Parable\Routing\Exception
docstring_tokens: Check whether a valid set of properties is set .