1 | <?php |
||
37 | class Handler implements HandlerConfigurationInterface |
||
38 | { |
||
39 | |||
40 | /** |
||
41 | * The trait that provides parameter handling functionality. |
||
42 | * |
||
43 | * @var \TechDivision\Import\Cli\Configuration\ParamsTrait |
||
44 | */ |
||
45 | use ParamsTrait; |
||
46 | |||
47 | /** |
||
48 | * The handler's type to use. |
||
49 | * |
||
50 | * @var string |
||
51 | * @Type("string") |
||
52 | */ |
||
53 | protected $type; |
||
54 | |||
55 | /** |
||
56 | * The handler's formatter to use. |
||
57 | * |
||
58 | * @var \TechDivision\Import\Configuration\Logger\FormatterConfigurationInterface |
||
59 | * @Type("TechDivision\Import\Cli\Configuration\Logger\Formatter") |
||
60 | */ |
||
61 | protected $formatter; |
||
62 | |||
63 | /** |
||
64 | * Return's the handler's type to use. |
||
65 | * |
||
66 | * @return string The type |
||
67 | */ |
||
68 | public function getType() |
||
72 | |||
73 | /** |
||
74 | * Return's the handler's formtter to use. |
||
75 | * |
||
76 | * @return \TechDivision\Import\Configuration\Logger\FormatterConfigurationInterface |
||
77 | */ |
||
78 | public function getFormatter() |
||
82 | } |
||
83 |