4 * This file is part of the Behat Testwork.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Testwork\Specification;
13 use Behat\Testwork\Suite\Suite;
17 * Represents empty specification iterator.
19 * Return an instance of this class from locator if no specifications are found.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 final class NoSpecificationsIterator extends EmptyIterator implements SpecificationIterator
31 * Initializes iterator.
35 public function __construct(Suite $suite)
37 $this->suite = $suite;
41 * Returns suite that was used to load subjects.
45 public function getSuite()