Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Faker\Extension;
4
 
5
/**
6
 * @experimental This interface is experimental and does not fall under our BC promise
7
 */
8
interface FileExtension extends Extension
9
{
10
    /**
11
     * Get a random MIME type
12
     *
13
     * @example 'video/avi'
14
     */
15
    public function mimeType(): string;
16
 
17
    /**
18
     * Get a random file extension (without a dot)
19
     *
20
     * @example avi
21
     */
22
    public function extension(): string;
23
 
24
    /**
25
     * Get a full path to a new real file on the system.
26
     */
27
    public function filePath(): string;
28
}