public function uploadedFile(
        $file,
        $clientFilename = null,
        $clientMediaType = null,
        $size = null,
        $error = UPLOAD_ERR_OK
    ) {
        return new Messages\UploadedFile\Implementation(
            $this,
            $file,
            $clientFilename,
            $clientMediaType,
            $size,
            $error
        );
    }
public function uploadedFile(
        $file,
        $clientFilename = null,
        $clientMediaType = null,
        $size = null,
        $error = UPLOAD_ERR_OK
    ) {
        return new Messages\UploadedFile\Implementation(
            $this,
            $file,
            $clientFilename,
            $clientMediaType,
            $size,
            $error
        );
    }
public function uploadedFile ( $ file , $ clientFilename = null , $ clientMediaType = null , $ size = null , $ error = UPLOAD_ERR_OK ) { return new Messages \ UploadedFile \ Implementation ( $ this , $ file , $ clientFilename , $ clientMediaType , $ size , $ error ) ; }
Build a PSR-7 uploaded file representation
@param string      $file File path
@param string|null $clientFilename
@param string|null $clientMediaType
@param int|null    $size
@param int|int     $error
@return Messages\UploadedFile\Implementation
Build a PSR - 7 uploaded file representation