title: Laravel 4 custom validation - [method] does not exist
body: <p>I am trying to implement and use a couple of my own custom validation methods in a class called <code>WBValidation</code> that extends <code>Illuminate\Validation\Validator</code></p>
  
  <p>I have this method <code>validateCombinedRequired</code>:</p>
  
  <pre><code> class WBValidation extends Illuminate\Validation\Validator{
  
  
       public function validateCombinedRequired($attribute,$value,$parameters){
              return (    $this-&gt;validateRequired($attribute,$value)  )
              and    (    $this-&gt;validateRequired($parameters[0],$this-&gt;data[$parameters[0]])     );
          }
  }
  </code></pre>
  
  <p>I have placed this class in the libraries folder. For the framework to automatically pick up this class, it might be getting picked up because I can see it in <code>autoload_classmap.php</code>  ( I might be wrong ).</p>
  
  <p>When I try to use it in my model, I am getting this error which says <code>BadMethodCallException","message":"Method [validateCombinedRequired] does not exist</code>:</p>
  
  <pre><code>class UserModel extends Eloquent{
      protected $table='user';
      public static function VerifyUserAdd($data){
  
  
          $rules = array('password'=&gt;'required|combined_required:repassword');
  
          // stuff
  
          return Validator::make($data,$rules,$errormessages);
      }
  }
  </code></pre>
  
  <p>Is there anything else I should be doing? Please help me!</p>