Completed
Pull Request — master (#3)
by Eric
16:57
created

Base64FileInterface::getData()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 1
ccs 0
cts 0
cp 0
1
<?php
2
3
/*
4
 * This file is part of the Ivory Base64 File package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ivory\Base64FileBundle\Model;
13
14
/**
15
 * @author GeLo <[email protected]>
16
 */
17
interface Base64FileInterface
18
{
19
    /**
20
     * @param bool $encoded
21
     * @param bool $asResource
22
     *
23
     * @return resource|string
24
     */
25
    public function getData($encoded = true, $asResource = true);
26
27
    /**
28
     * @return int
29
     */
30
    public function getSize();
31
32
    /**
33
     * @return string|null
34
     */
35
    public function getMimeType();
36
}
37