4 * This file is part of the Behat Gherkin.
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\Gherkin\Loader;
13 use Behat\Gherkin\Node\FeatureNode;
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
20 interface LoaderInterface
23 * Checks if current loader supports provided resource.
25 * @param mixed $resource Resource to load
29 public function supports($resource);
32 * Loads features from provided resource.
34 * @param mixed $resource Resource to load
36 * @return FeatureNode[]
38 public function load($resource);