MediaWiki master
FauxRequestUpload.php
Go to the documentation of this file.
1<?php
9namespace MediaWiki\Request;
10
18
27 public function __construct( $data, $request, $key ) {
28 $this->request = $request;
29 $this->doesExist = isset( $data[$key] );
30 if ( $this->doesExist ) {
31 $this->fileInfo = $data[$key];
32 }
33 }
34
35}
Object to fake the $_FILES array.
__construct( $data, $request, $key)
Constructor.
Object to access the $_FILES array.