original_string: public function excludeEntities($entities)
      {
          assert('is_array($entities) || is_null($entities)');
  
          if ($entities === null) {
              return;
          }
          $this->excluded = $entities;
          sort($this->excluded);
          $this->cacheId = sha1($this->cacheId.serialize($this->excluded));
      }
code: public function excludeEntities($entities)
      {
          assert('is_array($entities) || is_null($entities)');
  
          if ($entities === null) {
              return;
          }
          $this->excluded = $entities;
          sort($this->excluded);
          $this->cacheId = sha1($this->cacheId.serialize($this->excluded));
      }
code_tokens: public function excludeEntities ( $ entities ) { assert ( 'is_array($entities) || is_null($entities)' ) ; if ( $ entities === null ) { return ; } $ this -> excluded = $ entities ; sort ( $ this -> excluded ) ; $ this -> cacheId = sha1 ( $ this -> cacheId . serialize ( $ this -> excluded ) ) ; }
docstring: Set this aggregator to exclude a set of entities from the resulting aggregate.
  
  @param array|null $entities The entity IDs of the entities to exclude.
  @return void
docstring_tokens: Set this aggregator to exclude a set of entities from the resulting aggregate .