How to get a list of available options from an attribute key

Permalink 1 user found helpful
This was for a custom Userkey I'd defined in a package controller, hopefully this should easily translate to CollectionKey, etc.

$attr = \Concrete\Core\Attribute\Key\UserKey::getByHandle('userprovidertype');
        $atc = $attr->getController();
        $options = $atc->getOptions();

surefyre