EntityIndex
class EntityIndex extends AbstractIndex implements ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
| protected IndexingDriverInterface | $indexDriver | from AbstractIndex | |
| protected Application | $app | from ApplicationAwareTrait | |
| protected Entity | $entity | ||
| protected Connection | $connection | 
Methods
Details
        
                            
    __construct(Connection $connection, Entity $entity)
        
    
    AbstractIndex constructor.
        
                            bool
    index(mixed $object)
        
    
    Add an object to the index
        
                            bool
    forget(mixed $object)
        
    
    Remove an object from the index
        
                    protected        IndexingDriverInterface
    getIndexer()
        
    
    No description
        
                            
    setApplication(Application $app)
        
    
    Setter method for the application
        
                            void
    clear()
        
    
    Clear out all indexed items