src/Logging/LogInterpreter.php
public function getCases(): array
    {
        $cases = [];
        foreach ($this->readers as $reader) {
            foreach ($reader->getSuites() as $suite) {
                $cases = array_merge($cases, $suite->cases);
                foreach ($suite->suites as $nested) {
                    $this->extendEmptyCasesFromSuites($nested->cases, $suite);
                    $cases = array_merge($cases, $nested->cases);
                }
            }
        }

        return $cases;
    }
public function getCases(): array
    {
        $cases = [];
        foreach ($this->readers as $reader) {
            foreach ($reader->getSuites() as $suite) {
                $cases = array_merge($cases, $suite->cases);
                foreach ($suite->suites as $nested) {
                    $this->extendEmptyCasesFromSuites($nested->cases, $suite);
                    $cases = array_merge($cases, $nested->cases);
                }
            }
        }

        return $cases;
    }
public function getCases ( ) : array { $ cases = [ ] ; foreach ( $ this -> readers as $ reader ) { foreach ( $ reader -> getSuites ( ) as $ suite ) { $ cases = array_merge ( $ cases , $ suite -> cases ) ; foreach ( $ suite -> suites as $ nested ) { $ this -> extendEmptyCasesFromSuites ( $ nested -> cases , $ suite ) ; $ cases = array_merge ( $ cases , $ nested -> cases ) ; } } } return $ cases ; }
Get all test case objects found within
the collection of Reader objects.

@return array
Get all test case objects found within the collection of Reader objects .