MercureService
class MercureService implements LoggerAwareInterface (View source)
Traits
Trait LoggerAwareTrait A trait used with LoggerAwareInterface
                    LoggerAwareTrait    
                
            Properties
| protected Repository | $config | ||
| protected Application | $app | ||
| protected Hub | $hub | ||
| protected Subscriber | $subscriber | 
Methods
                    getLoggerChannel()
        
                                            
                
            No description
                    bool
                
                
                    isEnabled()
        
                                            
                
            No description
                    string
                
                
                    getPublisherUrl()
        
                                            
                
            No description
                    Hub
                
                
                    getHub()
        
                                            
                
            No description
                    publish(ServerEventInterface $event)
        
                                            
                
            Wrapper for getting the hub directly and publishing an update. Useful for ensuring Mercure doesn't raise undue errors.
                    getSubscriber()
        
                                            
                
            No description
Details
        
                            
    getLoggerChannel()
        
    
    No description
        
                            
    __construct(Application $app, Repository $config)
        
    
    No description
        
                            bool
    isEnabled()
        
    
    No description
        
                            string
    getPublisherUrl()
        
    
    No description
        
                            Hub
    getHub()
        
    
    No description
        
                            
    publish(ServerEventInterface $event)
        
    
    Wrapper for getting the hub directly and publishing an update. Useful for ensuring Mercure doesn't raise undue errors.
        
                            Subscriber
    getSubscriber()
        
    
    No description