for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* nextCloud - ocr
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
* @author Janis Koehr <[email protected]>
* @copyright Janis Koehr 2017
*/
namespace OCA\Ocr\Db;
use OCP\AppFramework\Db\Entity;
* Class File (represents the File to process)
* @package OCA\Ocr\Db
* @method integer getFileid()
* @method string getPath()
* @method string getName()
* @method string getMimetype()
* @method string getStoragename()
class File extends Entity {
* @var integer
protected $fileid;
* @var string
protected $path;
protected $name;
protected $mimetype;
protected $storagename;
* File constructor.
* @param null $fileid
* @param null $path
* @param null $name
* @param null $mimetype
* @param null $storagename
public function __construct($fileid = null, $path = null, $name = null, $mimetype = null, $storagename = null) {
$this->fileid = $fileid;
$this->path = $path;
$this->name = $name;
$this->mimetype = $mimetype;
$this->storagename = $storagename;
}