Total Complexity | 2 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | trait ContainerAlignTrait |
||
27 | { |
||
28 | /** |
||
29 | * The vertical alignment |
||
30 | * |
||
31 | * @access private |
||
32 | * @var string $verticalAlign |
||
33 | */ |
||
34 | protected $verticalAlign = \Kristuff\Phtemail\HtmlEmailBuilder::V_ALIGN_TOP; |
||
35 | |||
36 | /** |
||
37 | * The horizontal alignment |
||
38 | * |
||
39 | * @access private |
||
40 | * @var string $horizontalAlign |
||
41 | */ |
||
42 | protected $horizontalAlign = \Kristuff\Phtemail\HtmlEmailBuilder::H_ALIGN_LEFT; |
||
43 | |||
44 | /** |
||
45 | * Sets the container horizontal alignment |
||
46 | * |
||
47 | * @access public |
||
48 | * @param string $value |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | public function setAlign(string $value) |
||
53 | { |
||
54 | $this->horizontalAlign = $value; |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * Sets the container vertical alignment |
||
59 | * |
||
60 | * @access public |
||
61 | * @param string $value |
||
62 | * |
||
63 | * @return void |
||
64 | */ |
||
65 | public function setVerticalAlign(string $value) |
||
68 | } |
||
69 | } |