<?php

namespace CouponsPlus\App\Coupon\Tree\Branches;

use CouponsPlus\App\Coupon\Tree\Abilities\Branch;
use CouponsPlus\Original\Characters\StringManager;
use CouponsPlus\Original\Collections\Collection;

/**
 * Seems like it was never used
 * @deprecated
 */
class ConditionsAndAnyFiltersNodesBranch implements Branch
{
    private $nodesBranch;

    public function __construct(NodesBranch $nodesBranch)
    {
        $this->nodesBranch = $nodesBranch;
    }

    public function getType(): StringManager
    {
        return new StringManager('ConditionsAndAnyFilters');        
    } 
    
    public function getChildren(): Collection
    {
        return $this->nodesBranch->getChildren();        
    } 
}