PHP Classes

File: Zeus/test/Helpers/UploadFile.php

Recommend this page to a friend!
  Classes of Artur Graniszewski   ZEUS for PHP   Zeus/test/Helpers/UploadFile.php   Download  
File: Zeus/test/Helpers/UploadFile.php
Role: Auxiliary script
Content type: text/plain
Description: Test helper
Class: ZEUS for PHP
Manage the execution of multiple parallel tasks
Author: By
Last change:
Date: 7 years ago
Size: 830 bytes
 

Contents

Class file image Download
<?php

namespace ZeusTest\Helpers;

class
UploadFile
{
    protected
$fileName;

    protected
$formName;

    protected
$content;

   
/**
     * UploadFile constructor.
     * @param $fileName
     * @param $formName
     * @param $content
     */
   
public function __construct($fileName, $formName, $content)
    {
       
$this->fileName = $fileName;
       
$this->formName = $formName;
       
$this->content = $content;
    }

   
/**
     * @return mixed
     */
   
public function getFileName()
    {
        return
$this->fileName;
    }

   
/**
     * @return mixed
     */
   
public function getFormName()
    {
        return
$this->formName;
    }

   
/**
     * @return mixed
     */
   
public function getContent()
    {
        return
$this->content;
    }
}