<?php

namespace CouponsPlus\App\Coupon\Tree\Data\Transformers\Abilities;

use stdClass;

/**
 * @implements DataTransformer<object, object>
 */
interface DataTransformerWithParent extends DataTransformer
{
    /**
     * This is the parent's tree node data, if any.
     * Null if this is a root node.
     */
    public function parentData() : ?stdClass;
}