Last active
March 2, 2024 17:10
-
-
Save estefanionsantos/8eade4889dd56972aba81a8a8a17233b to your computer and use it in GitHub Desktop.
02 coreuri
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$route['afrodite'] = 'mitologia/afrodite'; | |
$route['journals'] = 'blogs'; | |
$route['blog/joe'] = 'blogs/users/34'; | |
# Wildcards | |
$route['user/{id}/{name}'] = 'user/:id/:name'; | |
$route['product/{id}'] = 'catalog/product_lookup_by_id/:id'; | |
$u = new Rubricate\Uri\CoreUri($route); | |
# EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment