ResourceMatcher implements MatcherInterface
Table of Contents
Interfaces
Properties
- $resources : array<string|int, ResourceInterface>
Methods
- addResource() : self
- match() : bool
- setResources() : self
- supports() : bool
Properties
$resources
        protected
            array<string|int, ResourceInterface>
    $resources
     = []
    
    
    
    
    
Methods
addResource()
    public
                    addResource(ResourceInterface $resource) : self
    Parameters
- $resource : ResourceInterface
Return values
selfmatch()
    public
                    match(mixed $item) : bool
    Parameters
- $item : mixed
Return values
boolsetResources()
    public
                    setResources(array<string|int, ResourceInterface> $resources) : self
    Parameters
- $resources : array<string|int, ResourceInterface>
Return values
selfsupports()
    public
                    supports(mixed $item) : bool
    Parameters
- $item : mixed