Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2namespace Apie\Core\Enums;
3
4enum FileStreamType: string
5{
6    /**
7     * https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsArrayBuffer
8     */
9    case ArrayBuffer = 'readAsArrayBuffer';
10
11    /**
12     * https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsBinaryString
13     *
14     * I added for consistency, but it's marked as deprecated.
15     */
16    case BinaryString = 'readAsBinaryString';
17
18    /**
19     * https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL
20     */
21    case Base64String = 'readAsDataURL';
22
23    /**
24     * https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText
25     */
26    case PlainText = 'readAsText';
27}