presentations/test-driven-drupal/slides/code/6.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
457 B
Text
Raw Normal View History

2023-10-17 10:36:46 +02:00
// start code
// src/Controller/BlogPageController.php
namespace Drupal\drupalcon\Controller;
declare(strict_types=1);
final class BlogPageController {
2023-10-17 10:36:46 +02:00
public function __invoke(): array {
return [];
}
}
// end code
// start output
. 1 / 1 (100%)
Time: 00:01.916, Memory: 6.00 MB
OK (1 test, 3 assertions)
Task completed in 0m2.147s
// end output
Task completed in 0m2.124s