@@ -66,8 +66,7 @@ |
||
| 66 | 66 | if (null !== $result) { |
| 67 | 67 | try { $dependencies->add($result); } |
| 68 | 68 | /* silently ignore all invalid results */ |
| 69 | - catch (\UnexpectedValueException $e) {} |
|
| 70 | - catch (\InvalidArgumentException $e) {} |
|
| 69 | + catch (\UnexpectedValueException $e) {} catch (\InvalidArgumentException $e) {} |
|
| 71 | 70 | } |
| 72 | 71 | } |
| 73 | 72 | |
@@ -43,24 +43,24 @@ discard block |
||
| 43 | 43 | 'log' => array( |
| 44 | 44 | 'Core/Log' => array( |
| 45 | 45 | 'writers' => array( |
| 46 | - array( |
|
| 47 | - 'name' => 'stream', |
|
| 46 | + array( |
|
| 47 | + 'name' => 'stream', |
|
| 48 | 48 | 'priority' => 1000, |
| 49 | 49 | 'options' => array( |
| 50 | - 'stream' => __DIR__ .'/../../../log/yawik.log', |
|
| 50 | + 'stream' => __DIR__ .'/../../../log/yawik.log', |
|
| 51 | + ), |
|
| 51 | 52 | ), |
| 52 | - ), |
|
| 53 | 53 | ), |
| 54 | 54 | ), |
| 55 | 55 | 'Log/Core/Mail' => array( |
| 56 | 56 | 'writers' => array( |
| 57 | - array( |
|
| 58 | - 'name' => 'stream', |
|
| 57 | + array( |
|
| 58 | + 'name' => 'stream', |
|
| 59 | 59 | 'priority' => 1000, |
| 60 | 60 | 'options' => array( |
| 61 | - 'stream' => __DIR__ .'/../../../log/mails.log', |
|
| 61 | + 'stream' => __DIR__ .'/../../../log/mails.log', |
|
| 62 | + ), |
|
| 62 | 63 | ), |
| 63 | - ), |
|
| 64 | 64 | ), |
| 65 | 65 | ), |
| 66 | 66 | ), |
@@ -317,13 +317,13 @@ discard block |
||
| 317 | 317 | ), |
| 318 | 318 | // Configuration of the controller service manager (Which loads controllers) |
| 319 | 319 | 'controllers' => array( |
| 320 | - 'factories' => [ |
|
| 321 | - 'Core/Index' => LazyControllerFactory::class, |
|
| 320 | + 'factories' => [ |
|
| 321 | + 'Core/Index' => LazyControllerFactory::class, |
|
| 322 | 322 | 'Core/Admin' => AdminControllerFactory::class, |
| 323 | - 'Core/File' => FileControllerFactory::class, |
|
| 323 | + 'Core/File' => FileControllerFactory::class, |
|
| 324 | 324 | 'Core/Content' => LazyControllerFactory::class, |
| 325 | 325 | Controller\Console\PurgeController::class => Controller\Console\PurgeControllerFactory::class, |
| 326 | - ], |
|
| 326 | + ], |
|
| 327 | 327 | ), |
| 328 | 328 | // Configuration of the controller plugin service manager |
| 329 | 329 | 'controller_plugins' => array( |
@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | 'paginatorservice' => 'Core/PaginatorService', |
| 355 | 355 | 'paginationParams' => 'Core/PaginationParams', |
| 356 | 356 | 'searchform' => 'Core/SearchForm', |
| 357 | - 'notification' => 'Notification', |
|
| 357 | + 'notification' => 'Notification', |
|
| 358 | 358 | ) |
| 359 | 359 | ), |
| 360 | 360 | // Configure the view service manager |
@@ -452,7 +452,7 @@ discard block |
||
| 452 | 452 | ), |
| 453 | 453 | 'aliases' => [ |
| 454 | 454 | 'snippet' => \Core\View\Helper\Snippet::class, |
| 455 | - 'ajaxUrl' => \Core\View\Helper\AjaxUrl::class, |
|
| 455 | + 'ajaxUrl' => \Core\View\Helper\AjaxUrl::class, |
|
| 456 | 456 | 'proxy' => \Core\View\Helper\Proxy::class, |
| 457 | 457 | 'form_element' => 'formElement', |
| 458 | 458 | ], |
@@ -564,17 +564,17 @@ discard block |
||
| 564 | 564 | ], |
| 565 | 565 | |
| 566 | 566 | 'Core/Ajax/Events' => [ |
| 567 | - 'service' => 'Core/EventManager', |
|
| 568 | - 'event' => \Core\Listener\Events\AjaxEvent::class, |
|
| 567 | + 'service' => 'Core/EventManager', |
|
| 568 | + 'event' => \Core\Listener\Events\AjaxEvent::class, |
|
| 569 | 569 | ], |
| 570 | 570 | |
| 571 | - 'Core/File/Events' => [ |
|
| 572 | - 'service' => 'Core/EventManager', |
|
| 573 | - 'event' => \Core\Listener\Events\FileEvent::class, |
|
| 571 | + 'Core/File/Events' => [ |
|
| 572 | + 'service' => 'Core/EventManager', |
|
| 573 | + 'event' => \Core\Listener\Events\FileEvent::class, |
|
| 574 | 574 | 'listeners' => [ |
| 575 | 575 | \Core\Listener\DeleteImageSetListener::class => [\Core\Listener\Events\FileEvent::EVENT_DELETE, -1000], |
| 576 | 576 | ], |
| 577 | - ], |
|
| 577 | + ], |
|
| 578 | 578 | |
| 579 | 579 | 'Core/EntityEraser/Dependencies/Events' => [ |
| 580 | 580 | 'service' => Service\EntityEraser\EntityEraserEvents::class, |
@@ -18,20 +18,20 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | return [ |
| 20 | 20 | 'doctrine' => [ |
| 21 | - 'driver' => [ |
|
| 21 | + 'driver' => [ |
|
| 22 | 22 | 'odm_default' => [ |
| 23 | 23 | 'drivers' => [ |
| 24 | 24 | 'Applications\Entity' => 'annotation', |
| 25 | 25 | ], |
| 26 | 26 | ], |
| 27 | 27 | 'annotation' => [ |
| 28 | - /* |
|
| 28 | + /* |
|
| 29 | 29 | * All drivers (except DriverChain) require paths to work on. You |
| 30 | 30 | * may set this value as a string (for a single path) or an array |
| 31 | 31 | * for multiple paths. |
| 32 | 32 | * example https://github.com/doctrine/DoctrineORMModule |
| 33 | 33 | */ |
| 34 | - 'paths' => [ __DIR__ . '/../src/Applications/Entity'] |
|
| 34 | + 'paths' => [ __DIR__ . '/../src/Applications/Entity'] |
|
| 35 | 35 | ], |
| 36 | 36 | ], |
| 37 | 37 | 'eventmanager' => [ |
@@ -71,18 +71,18 @@ discard block |
||
| 71 | 71 | 'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions', |
| 72 | 72 | ], |
| 73 | 73 | 'factories' => [ |
| 74 | - 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
| 75 | - 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
| 76 | - 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
| 77 | - 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
| 78 | - 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
| 79 | - 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
| 80 | - 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory', |
|
| 74 | + 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
| 75 | + 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
| 76 | + 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
| 77 | + 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
| 78 | + 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
| 79 | + 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
| 80 | + 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory', |
|
| 81 | 81 | Listener\JobSelectValues::class => Factory\Listener\JobSelectValuesFactory::class, |
| 82 | 82 | Listener\LoadDependendEntities::class => InvokableFactory::class, |
| 83 | 83 | ], |
| 84 | 84 | 'aliases' => [ |
| 85 | - 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
| 85 | + 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
| 86 | 86 | ] |
| 87 | 87 | ], |
| 88 | 88 | |
@@ -91,12 +91,12 @@ discard block |
||
| 91 | 91 | 'Applications\Controller\Index' => 'Applications\Controller\IndexController', |
| 92 | 92 | 'Applications\Controller\MultiManage' => 'Applications\Controller\MultimanageController', |
| 93 | 93 | ], |
| 94 | - 'factories' => [ |
|
| 95 | - 'Applications/Controller/Manage' => [ManageController::class,'factory'], |
|
| 96 | - 'Applications\Controller\Apply' => [ApplyController::class,'factory'], |
|
| 97 | - 'Applications/CommentController' => [CommentController::class,'factory'], |
|
| 98 | - 'Applications/Console' => [ConsoleController::class,'factory'], |
|
| 99 | - ] |
|
| 94 | + 'factories' => [ |
|
| 95 | + 'Applications/Controller/Manage' => [ManageController::class,'factory'], |
|
| 96 | + 'Applications\Controller\Apply' => [ApplyController::class,'factory'], |
|
| 97 | + 'Applications/CommentController' => [CommentController::class,'factory'], |
|
| 98 | + 'Applications/Console' => [ConsoleController::class,'factory'], |
|
| 99 | + ] |
|
| 100 | 100 | ], |
| 101 | 101 | |
| 102 | 102 | 'acl' => [ |
@@ -185,20 +185,20 @@ discard block |
||
| 185 | 185 | ], |
| 186 | 186 | 'form_elements' => [ |
| 187 | 187 | 'invokables' => [ |
| 188 | - 'Applications/Mail' => 'Applications\Form\Mail', |
|
| 189 | - 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
| 190 | - 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
| 191 | - 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
| 192 | - 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
| 193 | - 'Applications/Apply' => 'Applications\Form\Apply', |
|
| 194 | - 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
| 195 | - 'Applications/Base' => 'Applications\Form\Base', |
|
| 196 | - 'Applications/Facts' => 'Applications\Form\Facts', |
|
| 197 | - 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
| 198 | - 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
| 199 | - 'href' => 'Applications\Form\Element\Ref', |
|
| 188 | + 'Applications/Mail' => 'Applications\Form\Mail', |
|
| 189 | + 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
| 190 | + 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
| 191 | + 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
| 192 | + 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
| 193 | + 'Applications/Apply' => 'Applications\Form\Apply', |
|
| 194 | + 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
| 195 | + 'Applications/Base' => 'Applications\Form\Base', |
|
| 196 | + 'Applications/Facts' => 'Applications\Form\Facts', |
|
| 197 | + 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
| 198 | + 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
| 199 | + 'href' => 'Applications\Form\Element\Ref', |
|
| 200 | 200 | |
| 201 | - ], |
|
| 201 | + ], |
|
| 202 | 202 | 'factories' => [ |
| 203 | 203 | 'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory', |
| 204 | 204 | 'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory', |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | 'Applications\Form\Element\StatusSelect' => Factory\Form\StatusSelectFactory::class, |
| 207 | 207 | Form\Element\JobSelect::class => Factory\Form\JobSelectFactory::class |
| 208 | 208 | ], |
| 209 | - ], |
|
| 209 | + ], |
|
| 210 | 210 | |
| 211 | 211 | 'form_elements_config' => [ |
| 212 | 212 | 'Applications/Apply' => [ |