1: <?php
2:
3: namespace Project\Framework;
4:
5: /**
6: * Your projects main factory, usually referenced as $frameworkBuilder.
7: *
8: * You can use it to override and customize the framework.
9: */
10: class Builder extends \PHPixie\BundleFramework\Builder
11: {
12: /**
13: * Your Bundles registry
14: * @return Bundles
15: */
16: protected function buildBundles()
17: {
18: return new Bundles($this);
19: }
20:
21: /**
22: * Your extension registry registry
23: * @return Bundles
24: */
25: protected function buildExtensions()
26: {
27: return new Extensions($this);
28: }
29:
30: /**
31: * Projects root directory
32: * @return Bundles
33: */
34: protected function getRootDirectory()
35: {
36: return realpath(__DIR__.'/../../../');
37: }
38: }