Permalink
Browse files

Refactor to use DI compiler definitions

- Added script for compiling definitions, and added compiled definitions
  to repository
- Altered Bootstrap to use compiled definitions
- Updated all classmaps
  • Loading branch information...
1 parent b6e51c4 commit cce46e330224e71eabf0c54c6e993a1023e6a2b2 @weierophinney committed Jul 25, 2011
View
@@ -113,10 +113,10 @@ quickstart=/home/matthew/git/zf-quickstart CD=. filter="*.php *.phtml *.ini *.sq
.htaccess
}
scripts=scripts {
+ compileDefinitions.php
load.sqlite.php
data.sqlite.sql
schema.sqlite.sql
- siegerc
}
tests=tests filter="*.php *.xml" {
phpunit.xml
@@ -1,5 +1,6 @@
<?php
return array (
+ 'Application\\DiDefinition' => __DIR__ . DIRECTORY_SEPARATOR . 'ApplicationDiDefinition.php',
'QuickStart\\Controller\\GuestbookController' => __DIR__ . DIRECTORY_SEPARATOR . 'QuickStart' . DIRECTORY_SEPARATOR . 'Controller' . DIRECTORY_SEPARATOR . 'GuestbookController.php',
'QuickStart\\Model\\GuestbookMapper' => __DIR__ . DIRECTORY_SEPARATOR . 'QuickStart' . DIRECTORY_SEPARATOR . 'Model' . DIRECTORY_SEPARATOR . 'GuestbookMapper.php',
'QuickStart\\Model\\DbTable\\Guestbook' => __DIR__ . DIRECTORY_SEPARATOR . 'QuickStart' . DIRECTORY_SEPARATOR . 'Model' . DIRECTORY_SEPARATOR . 'DbTable' . DIRECTORY_SEPARATOR . 'Guestbook.php',
@@ -10,4 +11,4 @@
'Application\\View\\Helper\\Url' => __DIR__ . DIRECTORY_SEPARATOR . 'Application' . DIRECTORY_SEPARATOR . 'View' . DIRECTORY_SEPARATOR . 'Helper' . DIRECTORY_SEPARATOR . 'Url.php',
'Application\\Controller\\IndexController' => __DIR__ . DIRECTORY_SEPARATOR . 'Application' . DIRECTORY_SEPARATOR . 'Controller' . DIRECTORY_SEPARATOR . 'IndexController.php',
'Application\\Controller\\ErrorController' => __DIR__ . DIRECTORY_SEPARATOR . 'Application' . DIRECTORY_SEPARATOR . 'Controller' . DIRECTORY_SEPARATOR . 'ErrorController.php',
-);
+);
Oops, something went wrong.

0 comments on commit cce46e3

Please sign in to comment.