1 | <?php |
||
37 | class Handler implements HandlerConfigurationInterface |
||
|
|||
38 | { |
||
39 | |||
40 | /** |
||
41 | * The trait that provides parameter handling functionality. |
||
42 | * |
||
43 | * @var \TechDivision\Import\Configuration\Jms\Configuration\ParamsTrait |
||
44 | */ |
||
45 | use ParamsTrait; |
||
46 | |||
47 | /** |
||
48 | * The handler's DI ID to use. |
||
49 | * |
||
50 | * @var string |
||
51 | * @Type("string") |
||
52 | */ |
||
53 | protected $id; |
||
54 | |||
55 | /** |
||
56 | * The handler's formatter to use. |
||
57 | * |
||
58 | * @var \TechDivision\Import\Configuration\Logger\FormatterConfigurationInterface |
||
59 | * @Type("TechDivision\Import\Configuration\Jms\Configuration\Logger\Formatter") |
||
60 | */ |
||
61 | protected $formatter; |
||
62 | |||
63 | /** |
||
64 | * The swift mailer logger configuration to use. |
||
65 | * |
||
66 | * @var \TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer |
||
67 | * @Type("TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer") |
||
68 | * @SerializedName("swift-mailer") |
||
69 | */ |
||
70 | protected $swiftMailer; |
||
71 | |||
72 | /** |
||
73 | * Return's the handler's DI ID to use. |
||
74 | * |
||
75 | * @return string The DI ID |
||
76 | */ |
||
77 | public function getId() |
||
78 | { |
||
79 | return $this->id; |
||
80 | } |
||
81 | |||
82 | /** |
||
83 | * Return's the handler's formtter to use. |
||
84 | * |
||
85 | * @return \TechDivision\Import\Configuration\Logger\FormatterConfigurationInterface |
||
86 | */ |
||
87 | public function getFormatter() |
||
91 | |||
92 | /** |
||
93 | * Return's the swift mailer configuration to use. |
||
94 | * |
||
95 | * @return \TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer The swift mailer configuration to use |
||
96 | */ |
||
97 | public function getSwiftMailer() |
||
101 | } |
||
102 |