alexeyshockov/colada — pull request #22 by include-x (2012-11-15 20:18:03+00:00)
Title: Add "without" method for Colada\Collection, with tests

Hi, bro.

I really want something like this:
```php
public function saveUser($newUser)
{
collection($this->getAllUsers())->mapBy(x()->getEmail())->without($newUser->getEmail())->orThrow(
throw new DuplicateEmailException()
);

$this->save($newUser);
}
```
instead of this:
```php
public function saveUser($newUser)
{
if (collection($this->getAllUsers())->mapBy(x()->getEmail())->contains($newUser->getEmail())) {
throw new DuplicateEmailException();
}

$this->save($newUser);
}
```