Skip to content
  • This project
    • Loading...
  • Sign in

flexydial / hdfc

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • hdfc
  • ..
  • Fixtures
  • GeneratorDemo.php
  • Prashant Gupta's avatar
    New repo of HDFC · fe1c4e2d
    Prashant Gupta committed 2017-10-17 11:18:46 +0530
    fe1c4e2d
GeneratorDemo.php 270 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php

namespace Symfony\Component\VarDumper\Tests\Fixtures;

class GeneratorDemo
{
    public static function foo()
    {
        yield 1;
    }

    public function baz()
    {
        yield from bar();
    }
}

function bar()
{
    yield from GeneratorDemo::foo();
}