Doctrine\OXM\OptimisticLockException::getEntity PHP Method

getEntity() public method

Gets the entity that caused the exception.
public getEntity ( ) : object
return object
    public function getEntity()
    {
        return $this->entity;
    }