original_string: final protected function validateCallable($value, array $allowed) : bool
      {
          if (true === in_array('callable', $allowed)) {
              if (true === is_callable($value)) {
                  return true;
              }
          }
  
          return false;
      }
code: final protected function validateCallable($value, array $allowed) : bool
      {
          if (true === in_array('callable', $allowed)) {
              if (true === is_callable($value)) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: final protected function validateCallable ( $ value , array $ allowed ) : bool { if ( true === in_array ( 'callable' , $ allowed ) ) { if ( true === is_callable ( $ value ) ) { return true ; } } return false ; }
docstring: Validates an callable setting.
  
  @param mixed $value   The value we are validating.
  @param array $allowed Which items are allowed.
  
  @throws \InvalidArgumentException If the data is inaccurate/incorrect.
  @return bool True if validated, false if not
docstring_tokens: Validates an callable setting .