35 lines
991 B
PHP
35 lines
991 B
PHP
<?php
|
|
|
|
namespace Gedmo\Uploadable;
|
|
|
|
/**
|
|
* Container for all Gedmo Uploadable events
|
|
*
|
|
* @author Gustavo Falco <comfortablynumb84@gmail.com>
|
|
* @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
*/
|
|
|
|
final class Events
|
|
{
|
|
private function __construct()
|
|
{
|
|
}
|
|
/**
|
|
* The uploadablePreFileProcess event occurs before a file is processed inside
|
|
* the Uploadable listener. This means it happens before the file is validated and moved
|
|
* to the configured path.
|
|
*
|
|
* @var string
|
|
*/
|
|
const uploadablePreFileProcess = 'uploadablePreFileProcess';
|
|
/**
|
|
* The uploadablePostFileProcess event occurs after a file is processed inside
|
|
* the Uploadable listener. This means it happens after the file is validated and moved
|
|
* to the configured path.
|
|
*
|
|
* @var string
|
|
*/
|
|
const uploadablePostFileProcess = 'uploadablePostFileProcess';
|
|
}
|