public function afterSave(Event $event, Entity $entity, ArrayObject $options)
    {
        //Creates the folder
        (new Folder($entity->path, true, 0777));

        parent::afterSave($event, $entity, $options);
    }
public function afterSave(Event $event, Entity $entity, ArrayObject $options)
    {
        //Creates the folder
        (new Folder($entity->path, true, 0777));

        parent::afterSave($event, $entity, $options);
    }
public function afterSave ( Event $ event , Entity $ entity , ArrayObject $ options ) { //Creates the folder ( new Folder ( $ entity -> path , true , 0777 ) ) ; parent :: afterSave ( $ event , $ entity , $ options ) ; }
Called after an entity is saved
@param \Cake\Event\Event $event Event object
@param \Cake\ORM\Entity $entity Entity object
@param \ArrayObject $options Options
@return void
@uses MeCms\Model\Table\AppTable::afterSave()
Called after an entity is saved