-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6960920
commit 44cd860
Showing
5 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
namespace Upload\File\Writer; | ||
/** | ||
* Description of DefaultWriter | ||
* | ||
* @author allancarvalho | ||
*/ | ||
class DefaultWriter | ||
{ | ||
//put your code here | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
|
||
namespace Upload\Model\Behavior; | ||
|
||
use Cake\ORM\Behavior; | ||
use Intervention\Image\Image; | ||
|
||
/** | ||
* CakePHP UploadBehavior | ||
* @author allancarvalho | ||
*/ | ||
class UploadBehavior extends Behavior | ||
{ | ||
|
||
public function initialize(array $config) | ||
{ | ||
parent::initialize($config); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
|
||
namespace Upload\Validation; | ||
|
||
use Upload\Validation\Traits\ImageValidationTrait; | ||
use Upload\Validation\Traits\UploadValidationTrait; | ||
|
||
/** | ||
* Description of UploadValidation | ||
* | ||
* @author allancarvalho | ||
*/ | ||
class DefaultValidation | ||
{ | ||
//put your code here | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
namespace Upload\Validation\Traits; | ||
/** | ||
* Description of ImageValidationTrait | ||
* | ||
* @author allancarvalho | ||
*/ | ||
trait ImageValidationTrait | ||
{ | ||
//put your code here | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
namespace Upload\Validation\Traits; | ||
/** | ||
* Description of ImageValidationTrait | ||
* | ||
* @author allancarvalho | ||
*/ | ||
trait ImageValidationTrait | ||
{ | ||
//put your code here | ||
} |