original_string: public function references($references)
      {
          if (null !== $references && !is_array($references)) {
              throw new \InvalidArgumentException(sprintf('The references "%s" are not valid.', $references));
          }
  
          $this->references = $references;
  
          return $this;
      }
code: public function references($references)
      {
          if (null !== $references && !is_array($references)) {
              throw new \InvalidArgumentException(sprintf('The references "%s" are not valid.', $references));
          }
  
          $this->references = $references;
  
          return $this;
      }
code_tokens: public function references ( $ references ) { if ( null !== $ references && ! is_array ( $ references ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The references "%s" are not valid.' , $ references ) ) ; } $ this -> references = $ references ; return $ this ; }
docstring: Set the references.
  
  @param array $references The references.
  
  @return \Mandango\Query The query instance (fluent interface).
  
  @throws \InvalidArgumentException If the references are not an array or null.
  
  @api
docstring_tokens: Set the references .