original_string: public function remove($column, $value)
      {
          foreach ($this->entities as $index => $entity) {
              if ($entity->get($column) === $value) {
                  //remove the entity and reset the keys
                  unset($this->entities[$index]);
                  $this->entities = array_values($this->entities);
  
                  return $entity;
              }
          }
  
          return;
      }
code: public function remove($column, $value)
      {
          foreach ($this->entities as $index => $entity) {
              if ($entity->get($column) === $value) {
                  //remove the entity and reset the keys
                  unset($this->entities[$index]);
                  $this->entities = array_values($this->entities);
  
                  return $entity;
              }
          }
  
          return;
      }
code_tokens: public function remove ( $ column , $ value ) { foreach ( $ this -> entities as $ index => $ entity ) { if ( $ entity -> get ( $ column ) === $ value ) { //remove the entity and reset the keys unset ( $ this -> entities [ $ index ] ) ; $ this -> entities = array_values ( $ this -> entities ) ; return $ entity ; } } return ; }
docstring: Remove a single Entity from this collection where column =
  value. If more than one Entity is matched, the first will be
  removed and returned. If no Entity is matched, null will be
  returned.
  
  @param  string $column
  @param  string $value
  @return mixed  The removed Entity or NULL
docstring_tokens: Remove a single Entity from this collection where column = value . If more than one Entity is matched the first will be removed and returned . If no Entity is matched null will be returned .