1 | <?php |
||
21 | class IdGenerator implements GeneratorInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var int |
||
25 | */ |
||
26 | protected $firstLevel; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | protected $secondLevel; |
||
32 | |||
33 | /** |
||
34 | * @param int $firstLevel |
||
35 | * @param int $secondLevel |
||
36 | */ |
||
37 | public function __construct($firstLevel = 100000, $secondLevel = 1000) |
||
42 | |||
43 | public function generatePath(MediaInterface $media) |
||
50 | } |
||
51 |