mirror of https://github.com/flightphp/core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
358 B
16 lines
358 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use tests\views\components\AnotherClassComponent;
|
|
|
|
require_once __DIR__ . '/another-class-component.php';
|
|
|
|
return new class extends AnotherClassComponent
|
|
{
|
|
#[Override]
|
|
public function html(): string
|
|
{
|
|
return parent::html() . ' extended by my-class-component-that-extends-another-class-component';
|
|
}
|
|
}; |