/** * Tells whether entity is in detached state (like newly created entity) * * @return bool */ public function isDetached() { return $this->row->isDetached(); }