MediaWiki REL1_41
FauxRequestUpload.php
Go to the documentation of this file.
1<?php
23namespace MediaWiki\Request;
24
32
41 public function __construct( $data, $request, $key ) {
42 $this->request = $request;
43 $this->doesExist = isset( $data[$key] );
44 if ( $this->doesExist ) {
45 $this->fileInfo = $data[$key];
46 }
47 }
48
49}
50
54class_alias( FauxRequestUpload::class, 'FauxRequestUpload' );
Object to fake the $_FILES array.
__construct( $data, $request, $key)
Constructor.
Object to access the $_FILES array.