Example #1
0
 /**
  * @ODM\PreFlush
  */
 public function onPreFlush()
 {
     parent::onPreFlush();
     $this->updateDimensions();
 }