for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PHPHtmlParser\Discovery;
use PHPHtmlParser\Contracts\Selector\SeekerInterface;
use PHPHtmlParser\Selector\Seeker;
class SeekerDiscovery
{
/**
* @var SeekerInterface|null
*/
private static $seeker = null;
public static function find(): SeekerInterface
if (self::$seeker == null) {
self::$seeker = new Seeker();
}
return self::$seeker;