TikaRestClient
class TikaRestClient extends Client (View source)
Properties
| protected | array | $options | Authentication options to be sent to the Tika server  | 
                |
| protected | array | $mimes | 
Methods
                                        protected                                                        
                
                    array
                
                                
                    getGuzzleOptions(array $options = [])
        
                                            
                
            Assembles an array of request options to pass to Guzzle
Details
        
                            
    __construct(string $baseUrl = '', array $config = [])
        
    
    No description
        
                            bool
    isAvailable()
        
    
    Detect if the service is available
        
                            string
    getVersion()
        
    
    Get version code
        
                            array
    getSupportedMimes()
        
    
    Gets supported mime data. May include aliased mime types.
        
                            string
    tika(string $file)
        
    
    Extract text content from a given file.
Logs a notice-level error if the document can't be parsed.
        
                    protected        array
    getGuzzleOptions(array $options = [])
        
    
    Assembles an array of request options to pass to Guzzle