protected function listEntityIds(PagerInterface $pager = null, array $query_params = []): array
    {
        /** @var \Apigee\Edge\Api\Management\Entity\OrganizationInterface $organization */
        $organization = $this->getOrganizationController()->load($this->getOrganisationName());
        $isCpsEnabled = $organization->getPropertyValue('features.isCpsEnabled');

        if ($isCpsEnabled) {
            return $this->listEntityIdsWithCps($pager, $query_params);
        } else {
            $this->triggerCpsSimulationNotice($pager);

            return $this->listEntityIdsWithoutCps($pager, $query_params);
        }
    }
protected function listEntityIds(PagerInterface $pager = null, array $query_params = []): array
    {
        /** @var \Apigee\Edge\Api\Management\Entity\OrganizationInterface $organization */
        $organization = $this->getOrganizationController()->load($this->getOrganisationName());
        $isCpsEnabled = $organization->getPropertyValue('features.isCpsEnabled');

        if ($isCpsEnabled) {
            return $this->listEntityIdsWithCps($pager, $query_params);
        } else {
            $this->triggerCpsSimulationNotice($pager);

            return $this->listEntityIdsWithoutCps($pager, $query_params);
        }
    }
protected function listEntityIds ( PagerInterface $ pager = null , array $ query_params = [ ] ) : array { /** @var \Apigee\Edge\Api\Management\Entity\OrganizationInterface $organization */ $ organization = $ this -> getOrganizationController ( ) -> load ( $ this -> getOrganisationName ( ) ) ; $ isCpsEnabled = $ organization -> getPropertyValue ( 'features.isCpsEnabled' ) ; if ( $ isCpsEnabled ) { return $ this -> listEntityIdsWithCps ( $ pager , $ query_params ) ; } else { $ this -> triggerCpsSimulationNotice ( $ pager ) ; return $ this -> listEntityIdsWithoutCps ( $ pager , $ query_params ) ; } }
Loads entity ids from Apigee Edge.

@param \Apigee\Edge\Structure\PagerInterface|null $pager
Pager.
@param array $query_params
Additional query parameters.

@return string[]
Array of entity ids.
Loads entity ids from Apigee Edge .