forked from leafsphp/leafAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaths.php
More file actions
51 lines (41 loc) · 737 Bytes
/
Copy pathpaths.php
File metadata and controls
51 lines (41 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
function views_path($path = null)
{
return "App/Views/$path";
}
function storage_path($path = null)
{
return "storage/$path";
}
function controllers_path($path = null)
{
return "/App/Controllers/$path";
}
function models_path($path = null)
{
return "/App/Models/$path";
}
function migrations_path($path = null)
{
return "/App/Database/Migrations/$path";
}
function seeds_path($path = null)
{
return "/App/Database/Seeds/$path";
}
function factories_path($path = null)
{
return "/App/Database/Factories/$path";
}
function routes_path($path = null)
{
return "/App/Routes/$path";
}
function helpers_path($path = null)
{
return "/App/Helpers/$path";
}
function public_path($path = null)
{
return "/public/$path";
}