Pinq\Analysis\Types\CompositeType::isParentTypeOf PHP Метод

isParentTypeOf() публичный Метод

public isParentTypeOf ( Pinq\Analysis\IType $type )
$type Pinq\Analysis\IType
    public function isParentTypeOf(IType $type)
    {
        foreach ($this->composedTypes as $composedType) {
            if ($composedType->isParentTypeOf($type)) {
                return true;
            }
        }
        return false;
    }