UrlRoutable
interface UrlRoutable (View source)
Methods
                    mixed
                
                
                    getRouteKey()
        
                                            
                
            Get the value of the model's route key.
                    string
                
                
                    getRouteKeyName()
        
                                            
                
            Get the route key for the model.
                    Model|null
                
                
                    resolveRouteBinding(mixed $value, string|null $field = null)
        
                                            
                
            Retrieve the model for a bound value.
                    Model|null
                
                
                    resolveChildRouteBinding(string $childType, mixed $value, string|null $field)
        
                                            
                
            Retrieve the child model for a bound value.
Details
        
                            mixed
    getRouteKey()
        
    
    Get the value of the model's route key.
        
                            string
    getRouteKeyName()
        
    
    Get the route key for the model.
        
                            Model|null
    resolveRouteBinding(mixed $value, string|null $field = null)
        
    
    Retrieve the model for a bound value.
        
                            Model|null
    resolveChildRouteBinding(string $childType, mixed $value, string|null $field)
        
    
    Retrieve the child model for a bound value.