public __construct ( callable $renderer, string $heading ) | ||
$renderer | callable | Rendering function |
$heading | string | Heading |
public function __construct(callable $renderer, $heading)
{
$this->renderer = $renderer;
$this->heading = $heading;
}