DisableConstructorPatch
    
            
            in package
            
        
    
            
            implements
                            ClassPatchInterface                    
    
    
        
            Disable constructor.
Makes all constructor arguments optional.
Tags
Interfaces, Classes, Traits and Enums
- ClassPatchInterface
- Class patch interface.
Table of Contents
- apply() : void
- Makes all class constructor arguments optional.
- getPriority() : int
- Returns patch priority, which determines when patch will be applied.
- supports() : bool
- Checks if class has `__construct` method.
Methods
apply()
Makes all class constructor arguments optional.
    public
                    apply(ClassNode $node) : void
    
        Parameters
- $node : ClassNode
Return values
void —getPriority()
Returns patch priority, which determines when patch will be applied.
    public
                    getPriority() : int
    
    
    
        Return values
int —Priority number (higher - earlier)
supports()
Checks if class has `__construct` method.
    public
                    supports(ClassNode $node) : bool
    
        Parameters
- $node : ClassNode