public function afterSave(Event $event, EntityInterface $entity) {
		if ($this->getConfig('uploadOn') === 'afterSave') {
			$this->_handleFiles($entity);
		}
	}
public function afterSave(Event $event, EntityInterface $entity) {
		if ($this->getConfig('uploadOn') === 'afterSave') {
			$this->_handleFiles($entity);
		}
	}
public function afterSave ( Event $ event , EntityInterface $ entity ) { if ( $ this -> getConfig ( 'uploadOn' ) === 'afterSave' ) { $ this -> _handleFiles ( $ entity ) ; } }
After save callback.

@param \Cake\Event\Event $event Event
@param \Cake\Datasource\EntityInterface $entity Entity
@return void
After save callback .