| @@ 289-295 (lines=7) @@ | ||
| 286 | /** |
|
| 287 | * @return BricksStorage |
|
| 288 | */ |
|
| 289 | public function getBricks() |
|
| 290 | { |
|
| 291 | if (!$this->bricks instanceof BricksStorage) { |
|
| 292 | $this->bricks = new BricksStorage($this->repository); |
|
| 293 | } |
|
| 294 | return $this->bricks; |
|
| 295 | } |
|
| 296 | ||
| 297 | /** |
|
| 298 | * Get the image set |
|
| @@ 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 | } |
|