Files
FOSSBilling/src/bb-library/Box/RequestFile.php
T

32 lines
633 B
PHP

<?php
/**
* FOSSBilling
*
* @copyright FOSSBilling (https://www.fossbilling.org)
* @license Apache-2.0
*
* This file may contain code previously used in the BoxBilling project.
* Copyright BoxBilling, Inc 2011-2021
*
* This source file is subject to the Apache-2.0 License that is bundled
* with this source code in the file LICENSE
*/
class Box_RequestFile extends SplFileInfo
{
protected $name;
public function __construct(array $file)
{
$this->name = $file['name'];
parent::__construct($file['tmp_name']);
}
public function getName()
{
return $this->name;
}
}