Changeset 1111
- Timestamp:
- 12/05/07 12:56:59 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/util/log/stubLogDataFactory.php
r1087 r1111 25 25 * returns the injector instance 26 26 * 27 * @ return stubInjector27 * @param stubLogData 28 28 */ 29 protected function getInjector()29 protected function handleInjections(stubLogData $logData) 30 30 { 31 31 static $injector; … … 33 33 $binder = stubRegistry::get(stubBinder::REGISTRY_KEY); 34 34 if (($binder instanceof stubBinder) === false) { 35 throw new stubRuntimeException('No instance of net::stubbles::ioc::stubBinder available in registry.');35 return; 36 36 } 37 37 … … 39 39 } 40 40 41 return $injector;41 $injector->handleInjections($logData); 42 42 } 43 43 … … 62 62 } 63 63 64 self:: getInjector()->handleInjections($logData);64 self::handleInjections($logData); 65 65 return $logData; 66 66 }
