RiktaD/php-query

View on GitHub
src/Operation/Replacement/MapToValue.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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;
    }
}