HasMethod
final class HasMethod extends Constraint
Constraint that accepts objects, classes, traits and interfaces having given method.
Methods
                    string
                
                
                    toString()
        
                                            
                
            Returns a string representation of the constraint.
                    bool
                
                
                    matches(mixed $other)
        
                                            
                
            No description
Details
        at line 29
                            
    __construct(MethodSpecInterface $methodSpec)
        
    
    No description
        at line 37
                static            HasMethod
    create(string $methodSpecString)
        
    
    No description
        at line 55
                            string
    toString()
        
    
    Returns a string representation of the constraint.
        at line 65
        final            protected        bool
    matches(mixed $other)
        
    
    No description