Skip to content

Commit bc65c52

Browse files
committed
feat: add new defaults
1 parent 0102add commit bc65c52

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

.gitignore

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
1+
# Packages
2+
composer.phar
3+
vendor
4+
node_modules
5+
6+
# Environment
17
.env
28
.env.backup
39
.env.production
10+
11+
# Build
412
build
513
dist
614
compiled
15+
16+
# System/Editor
717
.idea
18+
19+
# Leaf
20+
.hana
21+
.alchemy
822
hot
9-
vendor
10-
node_modules
23+
storage/framework
24+
storage/logs
25+
26+
# Logs
1127
npm-debug.log
1228
yarn-error.log

app/controllers/Controller.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@
99
*/
1010
class Controller extends \Leaf\Controller
1111
{
12+
// You can define methods here that would be used
13+
// throughout your controller classes
14+
// public function someMethod() {}
1215
}

app/database/factories/Factory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@
1818
*/
1919
class Factory extends Base
2020
{
21+
// You can define methods here that would be used
22+
// throughout your factory classes
23+
// public function someMethod() {}
2124
}

app/models/Model.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88
* The base model provides a space to set attributes
99
* that are common to all models
1010
*/
11-
class Model extends \Leaf\Model {}
11+
class Model extends \Leaf\Model {
12+
// You can define methods here that would be used
13+
// throughout your model classes
14+
// public function someMethod() {}
15+
}

0 commit comments

Comments
 (0)