src/Core/CustomMethods.php
public function allMethodNames($custom = false)
    {
        $class = static::class;
        if (!isset(self::$built_in_methods[$class])) {
            self::$built_in_methods[$class] = array_map('strtolower', get_class_methods($this));
        }

        if ($custom && isset(self::$extra_methods[$class])) {
            return array_merge(self::$built_in_methods[$class], array_keys(self::$extra_methods[$class]));
        } else {
            return self::$built_in_methods[$class];
        }
    }
public function allMethodNames($custom = false)
    {
        $class = static::class;
        if (!isset(self::$built_in_methods[$class])) {
            self::$built_in_methods[$class] = array_map('strtolower', get_class_methods($this));
        }

        if ($custom && isset(self::$extra_methods[$class])) {
            return array_merge(self::$built_in_methods[$class], array_keys(self::$extra_methods[$class]));
        } else {
            return self::$built_in_methods[$class];
        }
    }
public function allMethodNames ( $ custom = false ) { $ class = static :: class ; if ( ! isset ( self :: $ built_in_methods [ $ class ] ) ) { self :: $ built_in_methods [ $ class ] = array_map ( 'strtolower' , get_class_methods ( $ this ) ) ; } if ( $ custom && isset ( self :: $ extra_methods [ $ class ] ) ) { return array_merge ( self :: $ built_in_methods [ $ class ] , array_keys ( self :: $ extra_methods [ $ class ] ) ) ; } else { return self :: $ built_in_methods [ $ class ] ; } }
Return the names of all the methods available on this object

@param bool $custom include methods added dynamically at runtime
@return array
Return the names of all the methods available on this object