@@ -24,8 +24,7 @@ discard block |
||
24 | 24 | * |
25 | 25 | * @access public |
26 | 26 | */ |
27 | -class Metadata extends AbstractEntity |
|
28 | -{ |
|
27 | +class Metadata extends AbstractEntity { |
|
29 | 28 | /** |
30 | 29 | * @access protected |
31 | 30 | * @var Metadata |
@@ -128,14 +127,12 @@ discard block |
||
128 | 127 | /** |
129 | 128 | * constructor |
130 | 129 | */ |
131 | - public function __construct() |
|
132 | - { |
|
130 | + public function __construct() { |
|
133 | 131 | // Do not remove the next line: It would break the functionality |
134 | 132 | $this->initStorageObjects(); |
135 | 133 | } |
136 | 134 | |
137 | - protected function initStorageObjects() |
|
138 | - { |
|
135 | + protected function initStorageObjects() { |
|
139 | 136 | $this->format = new ObjectStorage(); |
140 | 137 | } |
141 | 138 | |
@@ -206,8 +203,7 @@ discard block |
||
206 | 203 | /** |
207 | 204 | * @return ObjectStorage<MetadataFormat> $format |
208 | 205 | */ |
209 | - public function getFormat() |
|
210 | - { |
|
206 | + public function getFormat() { |
|
211 | 207 | return $this->format; |
212 | 208 | } |
213 | 209 | |
@@ -226,8 +222,7 @@ discard block |
||
226 | 222 | * |
227 | 223 | * @return void |
228 | 224 | */ |
229 | - public function addFormat(MetadataFormat $format) |
|
230 | - { |
|
225 | + public function addFormat(MetadataFormat $format) { |
|
231 | 226 | $this->format->attach($format); |
232 | 227 | } |
233 | 228 | |
@@ -238,8 +233,7 @@ discard block |
||
238 | 233 | * |
239 | 234 | * @return void |
240 | 235 | */ |
241 | - public function removeFormat(MetadataFormat $formatToRemove) |
|
242 | - { |
|
236 | + public function removeFormat(MetadataFormat $formatToRemove) { |
|
243 | 237 | $this->format->detach($formatToRemove); |
244 | 238 | } |
245 | 239 |
@@ -28,8 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @access public |
30 | 30 | */ |
31 | -class Format extends AbstractEntity |
|
32 | -{ |
|
31 | +class Format extends AbstractEntity { |
|
33 | 32 | /** |
34 | 33 | * @access protected |
35 | 34 | * @var string Name of the type that is used to reference it. |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class Printer extends AbstractEntity |
|
26 | -{ |
|
25 | +class Printer extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var string |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class Token extends AbstractEntity |
|
26 | -{ |
|
25 | +class Token extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var string The resumption token string. |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class Basket extends AbstractEntity |
|
26 | -{ |
|
25 | +class Basket extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var string|null |
@@ -30,8 +30,7 @@ |
||
30 | 30 | * |
31 | 31 | * @access public |
32 | 32 | */ |
33 | -class Library extends AbstractEntity |
|
34 | -{ |
|
33 | +class Library extends AbstractEntity { |
|
35 | 34 | /** |
36 | 35 | * @access protected |
37 | 36 | * @var string |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class PageSelectForm extends AbstractEntity |
|
26 | -{ |
|
25 | +class PageSelectForm extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var integer |
@@ -28,8 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @access public |
30 | 30 | */ |
31 | -class MetadataFormat extends AbstractEntity |
|
32 | -{ |
|
31 | +class MetadataFormat extends AbstractEntity { |
|
33 | 32 | /** |
34 | 33 | * @access protected |
35 | 34 | * @var int UID of the ``tx_dlf_metadata`` that is encoded by this metadata entry. |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class ActionLog extends AbstractEntity |
|
26 | -{ |
|
25 | +class ActionLog extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var int |