RouteDependencyResolverTrait deprecated
trait RouteDependencyResolverTrait (View source)
deprecated
Traits
Methods
                    array
                
                
                    resolveClassMethodDependencies(array $parameters, object $instance, string $method)
        
                                            
                
            Resolve the object method's type-hinted dependencies.
                    array
                
                
                    resolveMethodDependencies(array $parameters, ReflectionFunctionAbstract $reflector)
        
                                            
                
            Resolve the given method's type-hinted dependencies.
                    mixed
                
                
                    transformDependency(ReflectionParameter $parameter, array $parameters, object $skippableValue)
        
                                            
                
            Attempt to transform the given parameter into a class instance.
                    bool
                
                
                    alreadyInParameters(string $class, array $parameters)
        
                                            
                
            Determine if an object of the given class is in a list of parameters.
                    void
                
                
                    spliceIntoParameters(array $parameters, string $offset, mixed $value)
        
                                            
                
            Splice the given value into the parameter list.
Details
        
                    protected        array
    resolveClassMethodDependencies(array $parameters, object $instance, string $method)
        
    
    Resolve the object method's type-hinted dependencies.
        
                            array
    resolveMethodDependencies(array $parameters, ReflectionFunctionAbstract $reflector)
        
    
    Resolve the given method's type-hinted dependencies.
        
                    protected        mixed
    transformDependency(ReflectionParameter $parameter, array $parameters, object $skippableValue)
        
    
    Attempt to transform the given parameter into a class instance.
        
                    protected        bool
    alreadyInParameters(string $class, array $parameters)
        
    
    Determine if an object of the given class is in a list of parameters.
        
                    protected        void
    spliceIntoParameters(array $parameters, string $offset, mixed $value)
        
    
    Splice the given value into the parameter list.