@@ -22,7 +22,6 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class PrinterRepository extends Repository |
|
26 | -{ |
|
25 | +class PrinterRepository extends Repository { |
|
27 | 26 | |
28 | 27 | } |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class Structure extends AbstractEntity |
|
26 | -{ |
|
25 | +class Structure extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var Structure |
@@ -23,8 +23,7 @@ |
||
23 | 23 | * |
24 | 24 | * @access public |
25 | 25 | */ |
26 | -class Collection extends AbstractEntity |
|
27 | -{ |
|
26 | +class Collection extends AbstractEntity { |
|
28 | 27 | /** |
29 | 28 | * @access protected |
30 | 29 | * @var int |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * @access protected |
72 | 72 | * @var FileReference thumbnail |
73 | 73 | */ |
74 | - protected $thumbnail = null; |
|
74 | + protected $thumbnail = NULL; |
|
75 | 75 | |
76 | 76 | /** |
77 | 77 | * @access protected |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class Mail extends AbstractEntity |
|
26 | -{ |
|
25 | +class Mail extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var string |
@@ -26,8 +26,7 @@ discard block |
||
26 | 26 | * |
27 | 27 | * @access public |
28 | 28 | */ |
29 | -class Document extends AbstractEntity |
|
30 | -{ |
|
29 | +class Document extends AbstractEntity { |
|
31 | 30 | /** |
32 | 31 | * @access protected |
33 | 32 | * @var \DateTime |
@@ -225,14 +224,12 @@ discard block |
||
225 | 224 | /** |
226 | 225 | * constructor |
227 | 226 | */ |
228 | - public function __construct() |
|
229 | - { |
|
227 | + public function __construct() { |
|
230 | 228 | // Do not remove the next line: It would break the functionality |
231 | 229 | $this->initStorageObjects(); |
232 | 230 | } |
233 | 231 | |
234 | - protected function initStorageObjects() |
|
235 | - { |
|
232 | + protected function initStorageObjects() { |
|
236 | 233 | $this->collections = new ObjectStorage(); |
237 | 234 | } |
238 | 235 | |
@@ -610,8 +607,7 @@ discard block |
||
610 | 607 | * |
611 | 608 | * @return ObjectStorage<Collection> $collections |
612 | 609 | */ |
613 | - public function getCollections() |
|
614 | - { |
|
610 | + public function getCollections() { |
|
615 | 611 | return $this->collections; |
616 | 612 | } |
617 | 613 |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @access protected |
45 | 45 | * @var AbstractDocument|null This contains the representative of the raw XML / IIIF data of the document. |
46 | 46 | */ |
47 | - protected $currentDocument = null; |
|
47 | + protected $currentDocument = NULL; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * @access protected |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * @var ObjectStorage<Collection> |
184 | 184 | * @Extbase\ORM\Lazy |
185 | 185 | */ |
186 | - protected $collections = null; |
|
186 | + protected $collections = NULL; |
|
187 | 187 | |
188 | 188 | /** |
189 | 189 | * @access protected |
@@ -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. |