original_string: public function slaveOkay($okay = true)
      {
          if (null !== $okay) {
              if (!is_bool($okay)) {
                  throw new \InvalidArgumentException('The slave okay is not a boolean.');
              }
          }
  
          $this->slaveOkay = $okay;
  
          return $this;
      }
code: public function slaveOkay($okay = true)
      {
          if (null !== $okay) {
              if (!is_bool($okay)) {
                  throw new \InvalidArgumentException('The slave okay is not a boolean.');
              }
          }
  
          $this->slaveOkay = $okay;
  
          return $this;
      }
code_tokens: public function slaveOkay ( $ okay = true ) { if ( null !== $ okay ) { if ( ! is_bool ( $ okay ) ) { throw new \ InvalidArgumentException ( 'The slave okay is not a boolean.' ) ; } } $ this -> slaveOkay = $ okay ; return $ this ; }
docstring: Sets the slave okay.
  
  @param Boolean|null $okay If it is okay to query the slave (true by default).
  
  @return \Mandango\Query The query instance (fluent interface).
docstring_tokens: Sets the slave okay .