public function initializeObject() { if (!is_object($this->objectB)) { $this->injectedPropertyWasUnavailable = true; } }