forked from CradlePHP/Cradle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cradle.php
More file actions
22 lines (19 loc) · 690 Bytes
/
.cradle.php
File metadata and controls
22 lines (19 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php //-->
require_once 'vendor/autoload.php';
//use the cradle function
Cradle\Framework\Decorator::DECORATE;
/**
* This is where you would add CLI related tools
*/
return cradle()
//add bootstrap here
->preprocess(include('bootstrap/paths.php'))
->preprocess(include('bootstrap/debug.php'))
->preprocess(include('bootstrap/errors.php'))
->preprocess(include('bootstrap/services.php'))
->preprocess(include('bootstrap/timezone.php'))
->preprocess(include('bootstrap/session.php'))
->preprocess(include('bootstrap/i18n.php'))
->preprocess(include('bootstrap/handlebars.php'))
//package loader
->register(include('bootstrap/packages.php'));