original_string: public function callback($callable, $description = null): ValidatorChain
      {
          $rule = Validator::rule('callback', [$callable]);
          if (null !== $description) {
              $rule->setDescription($description);
          }
          $this->addRule($rule);
          return $this;
      }
code: public function callback($callable, $description = null): ValidatorChain
      {
          $rule = Validator::rule('callback', [$callable]);
          if (null !== $description) {
              $rule->setDescription($description);
          }
          $this->addRule($rule);
          return $this;
      }
code_tokens: public function callback ( $ callable , $ description = null ) : ValidatorChain { $ rule = Validator :: rule ( 'callback' , [ $ callable ] ) ; if ( null !== $ description ) { $ rule -> setDescription ( $ description ) ; } $ this -> addRule ( $ rule ) ; return $ this ; }
docstring: Add Callback Rule to ValidatorChain
  
  @param mixed       $callable
  @param string|null $description
  
  @return ValidatorChain
  @throws \Bluz\Validator\Exception\ComponentException
docstring_tokens: Add Callback Rule to ValidatorChain