1 | <?php |
||
30 | class UidProcessor extends ProcessorAbstract |
||
31 | { |
||
32 | /** |
||
33 | * @var string |
||
34 | * @access protected |
||
35 | */ |
||
36 | protected $uid; |
||
37 | |||
38 | /** |
||
39 | * Using external uid or create one |
||
40 | * |
||
41 | * @param string $uid external one |
||
42 | * @param int $length uid length |
||
43 | * @access public |
||
44 | */ |
||
45 | public function __construct(/*# string */ $uid = '', /*# int */ $length = 8) |
||
52 | |||
53 | /** |
||
54 | * {@inheritDoc} |
||
55 | */ |
||
56 | public function __invoke(LogEntryInterface $logEntry) |
||
62 | } |
||
63 |