src/AddToCampaignHandler.php
protected function getAvailableChangeSets()
    {
        return ChangeSet::get()
            ->filter('State', ChangeSet::STATE_OPEN)
            ->filterByCallback(function ($item) {
                /** @var ChangeSet $item */
                return $item->canView();
            });
    }
protected function getAvailableChangeSets()
    {
        return ChangeSet::get()
            ->filter('State', ChangeSet::STATE_OPEN)
            ->filterByCallback(function ($item) {
                /** @var ChangeSet $item */
                return $item->canView();
            });
    }
protected function getAvailableChangeSets ( ) { return ChangeSet :: get ( ) -> filter ( 'State' , ChangeSet :: STATE_OPEN ) -> filterByCallback ( function ( $ item ) { /** @var ChangeSet $item */ return $ item -> canView ( ) ; } ) ; }
Get what ChangeSets are available for an item to be added to by this user

@return ArrayList|ChangeSet[]
Get what ChangeSets are available for an item to be added to by this user