Function __global->method_exists

Definitions

sources_custom/phpstub.php

  • Checks if the class method exists.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$object object required parameter N/A N/A Object of the class we want to check
$method_name string required parameter N/A N/A The method name

Return

  • Whether the class method exists
  • Type: boolean
  • Set: N/A
  • Range: N/A