Ejemplo n.º 1
0
 /**
  * Update image with the new data
  *
  * @param AbstractClassContent|Revision $object
  * @param string $path
  * @param string $fullPath
  *
  * @return void
  */
 protected function updateObject(&$object, $path, $fullPath)
 {
     $object->__set('path', $path);
     $object->setParam('width', $this->request->get('cropNewW'));
     $object->setParam('height', $this->request->get('cropNewH'));
     $object->setParam('stat', json_encode(stat($fullPath)));
 }