baz example

 $f
        );
    }

    public function testGenerator()
    {
        if (\extension_loaded('xdebug')) {
            $this->markTestSkipped('xdebug is active');
        }

        $generator = new GeneratorDemo();
        $generator = $generator->baz();

        $expectedDump = <<<'EODUMP' Generator { this: Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo { …} %s: { %sGeneratorDemo.php:14 { Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo->baz() › { › yield from bar(); › } } %A} closed: false }


use Symfony\Config\ArrayExtraKeysConfig;

return static function DArrayExtraKeysConfig $config) {
    $config->foo([
        'extra1' => 'foo_extra1',
    ])
        ->baz('foo_baz')
        ->qux('foo_qux')
        ->set('extra2', 'foo_extra2')
        ->set('extra3', 'foo_extra3');

    $config->bar([
        'extra1' => 'bar1_extra1',
    ])
        ->corge('bar1_corge')
        ->grault('bar1_grault')
        ->set('extra2', 'bar1_extra2')
        ->set('extra3', 'bar1_extra3');

    
Home | Imprint | This part of the site doesn't use cookies.