public function index() { $urls = Url::All(); foreach ($urls as $url) { var_dump($url->token); } return "This is only the index of the URL"; }