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 BarcodeExtension extends Extension
9
{
10
    /**
11
     * Get a random EAN13 barcode.
12
     *
13
     * @example '4006381333931'
14
     */
15
    public function ean13(): string;
16
 
17
    /**
18
     * Get a random EAN8 barcode.
19
     *
20
     * @example '73513537'
21
     */
22
    public function ean8(): string;
23
 
24
    /**
25
     * Get a random ISBN-10 code
26
     *
27
     * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number
28
     *
29
     * @example '4881416324'
30
     */
31
    public function isbn10(): string;
32
 
33
    /**
34
     * Get a random ISBN-13 code
35
     *
36
     * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number
37
     *
38
     * @example '9790404436093'
39
     */
40
    public function isbn13(): string;
41
}