/var/www/vhosts/ihelp.ro/httpdocs/vendor/composer/pcre/src
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/composer/pcre/src/MatchWithOffsetsResult.php (990B)
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Composer\Pcre;
final class MatchWithOffsetsResult
{
/**
* An array of match group => pair of string matched + offset in bytes (or -1 if no match)
*
* @readonly
* @var array
* @phpstan-var array}>
*/
public $matches;
/**
* @readonly
* @var bool
*/
public $matched;
/**
* @param 0|positive-int $count
* @param array $matches
* @phpstan-param array}> $matches
*/
public function __construct(int $count, array $matches)
{
$this->matches = $matches;
$this->matched = (bool) $count;
}
}