X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FContext%2FSnippet%2FGenerator%2FFixedPatternIdentifier.php;fp=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FContext%2FSnippet%2FGenerator%2FFixedPatternIdentifier.php;h=0000000000000000000000000000000000000000;hp=7358bd41bf2e4e656033a4dbd0ea4524ddb9a7bd;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/behat/behat/src/Behat/Behat/Context/Snippet/Generator/FixedPatternIdentifier.php b/vendor/behat/behat/src/Behat/Behat/Context/Snippet/Generator/FixedPatternIdentifier.php deleted file mode 100644 index 7358bd41b..000000000 --- a/vendor/behat/behat/src/Behat/Behat/Context/Snippet/Generator/FixedPatternIdentifier.php +++ /dev/null @@ -1,44 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Behat\Behat\Context\Snippet\Generator; - -use Behat\Behat\Context\Context; - -/** - * Identifier that always returns same pattern type. - * - * @author Konstantin Kudryashov - */ -final class FixedPatternIdentifier implements PatternIdentifier -{ - /** - * @var string - */ - private $patternType; - - /** - * Initialises identifier. - * - * @param string $patternType - */ - public function __construct($patternType) - { - $this->patternType = $patternType; - } - - /** - * {@inheritdoc} - */ - public function guessPatternType($contextClass) - { - return $this->patternType; - } -}