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;
    }
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;
    }
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 ; }
Check whether a valid set of properties is set.

@return $this
@throws \Parable\Routing\Exception
Check whether a valid set of properties is set .