for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Greppy package.
*
* (c) Daniel Ribeiro <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Relax\Greppy\Pattern\Element\Metacharacter;
use Relax\Greppy\Pattern\ElementInterface;
/**
* One or more character.
* @author Daniel Ribeiro <[email protected]>
* @package Relax\Greppy\Pattern\Element\Metacharacter
class OneOrMore implements ElementInterface
{
* Gets the string representation of the element for usage inside patterns.
* @return mixed
public function __toString()
return "+";
}