Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
- nova função que cria a pasta de destino automaticamente quando ela …
Browse files Browse the repository at this point in the history
…não for encontrada.

- nova função que possibilita o upload de arquivos em webp.
- nova função de escolher a extensão que deseja salvar o arquivo.
- melhorias nos testes unitários
- correções gerais de todos os arquivos phpDoc
- atualização da documentação
  • Loading branch information
FernandoZueet committed Jan 15, 2018
1 parent f4a8e76 commit b376adb
Show file tree
Hide file tree
Showing 39 changed files with 588 additions and 361 deletions.
74 changes: 37 additions & 37 deletions Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This file is part of the Upload Manipulation package.
*
* @link http://github.com/fernandozueet/upload-and-image-manipulation
* @copyright 2017
* @copyright 2018
* @license MIT License
* @author Fernando Zueet <[email protected]>
*/
Expand All @@ -23,70 +23,70 @@ class Core
*-------------------------------------------------------------------------------------*/

/**
* array class validates
* Array class validates
*
* @var array
*/
private $objValids = [];

/**
* class Validate
* Class Validate
*
* @var Validate
*/
private $validate;

/**
* class Messages
* Class Messages
*
* @var class
*/
private $message;

/**
* status upload multiple
* Status upload multiple
*
* @var boolean
*/
private $uploadMultiple = false;

/**
* class file
* Class file
*
* @var File
*/
private $fileClass;

/**
* array de files
* Array de files
*
* @var array
*/
private $file = [];

/**
* file active
* File active
*
* @var array
*/
private $fileActive = [];

/**
* status validate
* Status validate
*
* @var boolean
*/
private $statusValidate = false;

/**
* array class executes
* Array class executes
*
* @var array
*/
private $classExecutes = [];

/**
* union executes
* Union executes
*
* @var boolean
*/
Expand All @@ -97,7 +97,7 @@ class Core
*-------------------------------------------------------------------------------------*/

/**
* get array class validates
* Get array class validates
*
* @return array
*/
Expand All @@ -107,7 +107,7 @@ public function getObjValids() : array
}

/**
* set array class validates
* Set array class validates
*
* @param array $objValids
* @return void
Expand All @@ -124,7 +124,7 @@ public function setObjValids(array $objValids)
}

/**
* get class Validate
* Get class Validate
*
* @return Validate
*/
Expand All @@ -134,7 +134,7 @@ public function getValidate() : Validate
}

/**
* set class Validate
* Set class Validate
*
* @return Validate
*/
Expand All @@ -145,7 +145,7 @@ public function setValidate(Validate $validate)
}

/**
* get class Messages
* Get class Messages
*
* @return void
*/
Expand All @@ -155,7 +155,7 @@ public function getMessage() : MessagesInterface
}

/**
* set class Messages
* Set class Messages
*
* @param class $message
* @return void
Expand All @@ -167,7 +167,7 @@ public function setMessage(MessagesInterface $message)
}

/**
* get status upload multiple
* Get status upload multiple
*
* @return bool
*/
Expand All @@ -177,7 +177,7 @@ public function getUploadMultiple() : bool
}

/**
* set status upload multiple
* Set status upload multiple
*
* @param bool $uploadMultiple
* @return void
Expand All @@ -189,7 +189,7 @@ public function setUploadMultiple(bool $uploadMultiple)
}

/**
* get class File
* Get class File
*
* @return File
*/
Expand All @@ -199,7 +199,7 @@ public function getFileClass() : File
}

/**
* set class File
* Set class File
*
* @param File $fileClass
* @return void
Expand All @@ -211,7 +211,7 @@ public function setFileClass(File $fileClass)
}

/**
* get file array
* Get file array
*
* @return array
*/
Expand All @@ -221,7 +221,7 @@ public function getFile() : array
}

/**
* set file array
* Set file array
*
* @param array $file
* @return void
Expand All @@ -233,7 +233,7 @@ public function setFile(array $file)
}

/**
* get file active
* Get file active
*
* @return array
*/
Expand All @@ -243,7 +243,7 @@ public function getFileActive() : array
}

/**
* set file active
* Set file active
*
* @param array $fileActive
* @return void
Expand All @@ -255,7 +255,7 @@ public function setFileActive(array $fileActive)
}

/**
* get status validate
* Get status validate
*
* @return bool
*/
Expand All @@ -265,7 +265,7 @@ public function getStatusValidate() : bool
}

/**
* set status validate
* Set status validate
*
* @param bool $statusValidate
* @return void
Expand All @@ -277,7 +277,7 @@ public function setStatusValidate(bool $statusValidate)
}

/**
* get class executes
* Get class executes
*
* @return array
*/
Expand All @@ -287,7 +287,7 @@ public function getClassExecutes() : array
}

/**
* set class executes
* Set class executes
*
* @param array $classExecutes
* @return void
Expand All @@ -302,7 +302,7 @@ public function setClassExecutes(array $classExecutes)
}

/**
* get union executes
* Get union executes
*
* @return bool
*/
Expand All @@ -312,7 +312,7 @@ public function getUnionExecutes() : bool
}

/**
* set union executes
* Set union executes
*
* @param bool $unionExecutes
* @return void
Expand All @@ -328,7 +328,7 @@ public function setUnionExecutes(bool $unionExecutes)
*-------------------------------------------------------------------------------------*/

/**
* initial settings and set data in the application container
* Initial settings and set data in the application container
*
* @return void
*/
Expand All @@ -341,7 +341,7 @@ public function init()
}

/**
* get errors upload
* Get errors upload
*
* @return array
*/
Expand All @@ -354,7 +354,7 @@ public function getErrors() : array
}

/**
* validate functions files
* Validate functions files
*
* @return void
*/
Expand Down Expand Up @@ -407,7 +407,7 @@ public function validate()
}

/**
* validate functions upload
* Validate functions upload
*
* @param array $arrayExecutes
* @return void
Expand Down Expand Up @@ -448,7 +448,7 @@ public function validExecute(array $arrayExecutes)
}

/**
* upload functions execute
* Upload functions execute
*
* @return bool
*/
Expand Down Expand Up @@ -488,7 +488,7 @@ public function execute() : bool
}

/**
* delete files error upload function
* Delete files error upload function
*
* @return void
*/
Expand Down
Loading

0 comments on commit b376adb

Please sign in to comment.