| 
									
										
										
										
											2022-08-16 20:23:53 +08:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-17 21:39:53 +08:00
										 |  |  | namespace BookStack\References\ModelResolvers; | 
					
						
							| 
									
										
										
										
											2022-08-16 20:23:53 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | use BookStack\Model; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface CrossLinkModelResolver | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * Resolve the given href link value to a model. | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function resolve(string $link): ?Model; | 
					
						
							| 
									
										
										
										
											2022-08-30 00:46:41 +08:00
										 |  |  | } |