BadMethodCallException is typically used in conjunction with __call magic method.
(PHP 5 >= 5.1.0, PHP 7)
Exception thrown if a callback refers to an undefined method or if some arguments are missing.
BadMethodCallException is typically used in conjunction with __call magic method.