ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
DecoratedPageBuilder.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
23 
24 use Closure;
27 
34 {
40  public function __construct(private PageBuilder $original, private Closure $deco)
41  {
42  }
43 
47  public function build(PagePartProvider $parts): Page
48  {
49  $deco = $this->deco;
50  return $deco($parts);
51  }
52 }
PhpPropertyOnlyWrittenInspection
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
Definition: ltitoken.php:61
__construct(private PageBuilder $original, private Closure $deco)
DecoratedPageBuilder constructor.
This describes the Page.
Definition: Page.php:30