src/Operation/Replacement/MapToValue.php
<?php
declare(strict_types=1);
namespace Rikta\PhpQuery\Operation\Replacement;
use Rikta\ValuePath\ValuePath;
class MapToValue extends Map
{
public function __construct(ValuePath $getter)
{
parent::__construct($getter);
}
public function isApplicableOnSubValue(): bool
{
return true;
}
}