get_class_methods

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets the class methods' names
<?php get_class_methods(object|string $object_or_class): array
<?php     private function hasHigherOrderCallable(): bool

    {

        return in_array($this->name, get_class_methods(HigherOrderCallables::class), true);

    }



    private function getUndefinedMethodMessage(object $target, string $methodName): string