ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
DecoratedPageBuilder.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
22 
23 use Closure;
26 
33 {
37  private $original;
41  private $deco;
42 
49  {
50  $this->original = $original;
51  $this->deco = $deco;
52  }
53 
57  public function build(PagePartProvider $parts) : Page
58  {
60  return $deco($parts);
61  }
62 }
PhpPropertyOnlyWrittenInspection
This describes the Page.
Definition: Page.php:13
__construct(PageBuilder $original, Closure $deco)
DecoratedPageBuilder constructor.