Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 231 Bytes
<?php
namespace App\Controller\Component;
class ImageUploadComponent extends FileUploadComponent
{
protected function beforeMoveUploadedFile(array $file_data)
{
return getimagesize($file_data['tmp_name']);
}
}