public function isDoctrine() { return $this->objectConstructor === $this->doctrineObjectConstructor; }