protected function isPrefixable($objectOrClassName): bool
    {
        if (is_string($objectOrClassName)) {
            return in_array(Prefixable::class, class_implements($objectOrClassName), true);
        }

        if (is_object($objectOrClassName)) {
            return $objectOrClassName instanceof Prefixable;
        }

        return false;
    }
protected function isPrefixable($objectOrClassName): bool
    {
        if (is_string($objectOrClassName)) {
            return in_array(Prefixable::class, class_implements($objectOrClassName), true);
        }

        if (is_object($objectOrClassName)) {
            return $objectOrClassName instanceof Prefixable;
        }

        return false;
    }
protected function isPrefixable ( $ objectOrClassName ) : bool { if ( is_string ( $ objectOrClassName ) ) { return in_array ( Prefixable :: class , class_implements ( $ objectOrClassName ) , true ) ; } if ( is_object ( $ objectOrClassName ) ) { return $ objectOrClassName instanceof Prefixable ; } return false ; }
Check whether a FQCN or an object implements the Prefixable interface.

@since 0.1.0

@param OptionRepository|string $objectOrClassName Object instance or FQCN.

@return bool Whether the passed-in argument is prefixable.
Check whether a FQCN or an object implements the Prefixable interface .