File size: 2.12Kb
<?php
namespace App\Traits;
trait FileInfo
{
/*
|--------------------------------------------------------------------------
| File Information
|--------------------------------------------------------------------------
|
| This trait basically contain the path of files and size of images.
| All information are stored as an array. Developer will be able to access
| this info as method and property using FileManager class.
|
*/
public function fileInfo(){
$data['withdrawVerify'] = [
'path'=>'assets/images/verify/withdraw'
];
$data['depositVerify'] = [
'path' =>'assets/images/verify/deposit'
];
$data['verify'] = [
'path' =>'assets/verify'
];
$data['default'] = [
'path' => 'assets/images/general/default.png',
];
$data['withdrawMethod'] = [
'path' => 'assets/images/withdraw/method',
'size' => '800x800',
];
$data['ticket'] = [
'path' => 'assets/support',
];
$data['logoIcon'] = [
'path' => 'assets/images/general',
];
$data['favicon'] = [
'size' => '128x128',
];
$data['extensions'] = [
'path' => 'assets/images/plugins',
'size' => '36x36',
];
$data['seo'] = [
'path' => 'assets/images/seo',
'size' => '1180x600',
];
$data['userProfile'] = [
'path' =>'assets/images/user/profile',
'size' =>'350x300',
];
$data['adminProfile'] = [
'path' =>'assets/admin/images/profile',
'size' =>'400x400',
];
$data['posts'] = [
'path' =>'assets/images/posts',
'size' =>'',
];
$data['applyJob'] = [
'path' =>'assets/user/file/apply-job',
];
$data['chatFiles'] = [
'path' =>'assets/user/chat/chatFiles',
];
return $data;
}
}