Pinq\Analysis\Types\ObjectType::isParentTypeOf PHP Method

isParentTypeOf() public method

public isParentTypeOf ( Pinq\Analysis\IType $type )
$type Pinq\Analysis\IType
    public function isParentTypeOf(IType $type)
    {
        if ($type instanceof IObjectType) {
            return is_a($type->getClassType(), $this->classType, true);
        }
        return false;
    }