/** * Will determine if a method can be called. * * @param string $method Method name. * @param bool $internal Interal call or not. * * @return bool */ public function respondsTo($method, $internal = false) { return Inspector::isCallable($this, $method, $internal); }