- Added a simple verification for route name
This commit is contained in:
		
							parent
							
								
									4d6a2f2681
								
							
						
					
					
						commit
						3bebb66ad4
					
				@ -51,4 +51,8 @@ class Route implements \Notes\Annotation {
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        return strtolower($this->name) === strtolower($name);
 | 
					        return strtolower($this->name) === strtolower($name);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public function isRoute(string $name) {
 | 
				
			||||||
 | 
					        return $this->name === $name;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user