Skip to content

Commit

Permalink
2017-02-21 2243
Browse files Browse the repository at this point in the history
  • Loading branch information
allanmcarvalho committed Feb 22, 2017
1 parent 6960920 commit 44cd860
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/File/Writer/DefaultWriter.php
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
}
26 changes: 26 additions & 0 deletions src/Model/Behavior/UploadBehavior.php
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);
}

}
22 changes: 22 additions & 0 deletions src/Validation/DefaultValidation.php
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
}
17 changes: 17 additions & 0 deletions src/Validation/Traits/ImageValidationTrait.php
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
}
17 changes: 17 additions & 0 deletions src/Validation/Traits/UploadValidationTrait.php
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
}

0 comments on commit 44cd860

Please sign in to comment.