ZF\Apigility\Admin\Model\ModuleModel::getServicesByModule PHP Method

getServicesByModule() protected method

Returns null if the module is not API-enabled. Returns an array with the elements "rest" and "rpc" on success, with each being an array of controller service names.
protected getServicesByModule ( string $module ) : null | array
$module string
return null | array
    protected function getServicesByModule($module)
    {
        $services = ['rest' => $this->discoverServicesByModule($module, $this->restConfig), 'rpc' => $this->discoverServicesByModule($module, $this->rpcConfig)];
        return $services;
    }