laravel/framework — pull request #2130 by KennedyTedesco (2013-08-17 22:35:06+00:00)
Title: doReplacements() added is_callable() verification

Thus, when extend the class, you can call methods replace*Rule*() dynamically on the __call().

Ex:

```php
class CustomValidator extends \Illuminate\Validation\Validator
{
// ...
// ...
public function __call($method, $parameters)
{
// ...
// ...
if(preg_match('/^replace/', $method)) {
return $this->doMessageReplacement($parameters);
}
// ...
// ...

parent::__call($method, $parameters);
}

// ...
// ...
```