ServiceBrowser Class
Web debugging interface for browsing and testing Services within the CanteenFramework. Located in the namespace Canteen\ServiceBrowser\ServiceBrowser.
Constructor
ServiceBrowser
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        aliases
- 
                    
                        basePath
- 
                    
                        browserUri
- 
                    
                        uriRequest
- 
                    
                        [parser=null]
Parameters:
Item Index
Properties
Methods
callMethod
    
        
            (
    
    
        
            String
        
    
    
    
        private
    
    
    
    
    
    
    - 
                    
                        call
- 
                    
                        [args=null]
Call the method and get the result
Parameters:
Returns:
                
                    
                        String:
                    
                    
        The HTML result of the call or stack trace
displayArgs
    
        
            (
    
    
        
            String
        
    
    
    
    
    
    
    
    
    - 
                    
                        args
Display the arguments as a string
Parameters:
- 
                    
                        argsArrayThe arguments array 
Returns:
                
                    
                        String:
                    
                    
        The string representation of the arguments, comma-separated
getFormattedTrace
    
        
            (
    
    
        
            Array
        
    
    
    
        private
    
    
    
    
    
    
    - 
                    
                        e
A utility function to formatted the exception stack trace
Parameters:
- 
                    
                        eExceptionThe exception to convert to trace 
Returns:
                
                    
                        Array:
                    
                    
        The collection of arrays
getMethodsList
    
        ()
    
    
        
            String
        
    
    
    
        private
    
    
    
    
    
    
    The name of the class
Returns:
                
                    
                        String:
                    
                    
        HTML mark-up for methods lis
handle
    
        ()
    
    
    
    
    
    
    
    
    
    Create the browser request
Properties
_parser
    Parser
    
    
        private
    
    
    
    
    Reference to the parser
