| @@ 117-123 (lines=7) @@ | ||
| 114 | $this->save(); |
|
| 115 | } |
|
| 116 | ||
| 117 | private function getBricks() |
|
| 118 | { |
|
| 119 | if (!$this->bricks instanceof BricksStorage) { |
|
| 120 | $this->bricks = new BricksStorage($this->repository); |
|
| 121 | } |
|
| 122 | return $this->bricks; |
|
| 123 | } |
|
| 124 | } |
|
| @@ 283-289 (lines=7) @@ | ||
| 280 | /** |
|
| 281 | * @return BricksStorage |
|
| 282 | */ |
|
| 283 | public function getBricks() |
|
| 284 | { |
|
| 285 | if (!$this->bricks instanceof BricksStorage) { |
|
| 286 | $this->bricks = new BricksStorage($this->repository); |
|
| 287 | } |
|
| 288 | return $this->bricks; |
|
| 289 | } |
|
| 290 | ||
| 291 | /** |
|
| 292 | * Get the image set |
|