Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / var-dumper / Tests / Fixtures / GeneratorDemo.php
1 <?php
2
3 namespace Symfony\Component\VarDumper\Tests\Fixtures;
4
5 class GeneratorDemo
6 {
7     public static function foo()
8     {
9         yield 1;
10     }
11
12     public function baz()
13     {
14         yield from bar();
15     }
16 }
17
18 function bar()
19 {
20     yield from GeneratorDemo::foo();
21 }