2
I’m trying to get the image array to handle
In Cakephp 2, I was like this:
public function beforeSave($options = array())
{
if(!empty($this->data['User']['picture']['name'])...
Could someone explain the new syntax of Cake 3:
beforeSave
Cake\ORM\Table::beforeSave(Event $event, Entity $entity, ArrayObject $options)
?
Thank you