ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Standard.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
32class Standard extends Popover implements C\Popover\Standard
33{
37 protected array $content;
38
42 public function __construct($content, SignalGeneratorInterface $signal_generator)
43 {
44 parent::__construct($signal_generator);
45 $content = $this->toArray($content);
46 $types = array(C\Component::class );
47 $this->checkArgListElements('content', $content, $types);
48 $this->content = $content;
49 }
50
54 public function getContent(): array
55 {
56 return $this->content;
57 }
58}
__construct($content, SignalGeneratorInterface $signal_generator)
Definition: Standard.php:42
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc