container.php
public function attachServices($obj) {
		$args = get_class_vars( get_class($obj) );
		foreach ($args as $_k=>$_v) {
			if (substr($_k, -7) == 'Service') {
				$obj->$_k = _makePromise($_k);
			}
		}
	}
public function attachServices($obj) {
		$args = get_class_vars( get_class($obj) );
		foreach ($args as $_k=>$_v) {
			if (substr($_k, -7) == 'Service') {
				$obj->$_k = _makePromise($_k);
			}
		}
	}
public function attachServices ( $ obj ) { $ args = get_class_vars ( get_class ( $ obj ) ) ; foreach ( $ args as $ _k => $ _v ) { if ( substr ( $ _k , - 7 ) == 'Service' ) { $ obj -> $ _k = _makePromise ( $ _k ) ; } } }
Set a DI promise object on every
class var that ends with 'Service'
Set a DI promise object on every class var that ends with Service