vendor and env first commit
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Fortify;
|
||||
|
||||
class RoutePath
|
||||
{
|
||||
/**
|
||||
* Get the route path for the given route name.
|
||||
*
|
||||
* @param string $routeName
|
||||
* @param string $default
|
||||
* @return string
|
||||
*/
|
||||
public static function for(string $routeName, string $default)
|
||||
{
|
||||
return config('fortify.paths.'.$routeName) ?? $default;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user