public function getDefaultScopes()
    {
        $scopes = $this->configService->getValue('scopes_default');

        return array_filter(array_map('trim', Service\Scope::split($scopes)), function ($scope) {
            // we filter out the backend scope since this would be a major
            // security issue
            return !empty($scope) && $scope != 'backend';
        });
    }
public function getDefaultScopes()
    {
        $scopes = $this->configService->getValue('scopes_default');

        return array_filter(array_map('trim', Service\Scope::split($scopes)), function ($scope) {
            // we filter out the backend scope since this would be a major
            // security issue
            return !empty($scope) && $scope != 'backend';
        });
    }
public function getDefaultScopes ( ) { $ scopes = $ this -> configService -> getValue ( 'scopes_default' ) ; return array_filter ( array_map ( 'trim' , Service \ Scope :: split ( $ scopes ) ) , function ( $ scope ) { // we filter out the backend scope since this would be a major // security issue return ! empty ( $ scope ) && $ scope != 'backend' ; } ) ; }
Returns the default scopes which every new user gets automatically
assigned

@return array
Returns the default scopes which every new user gets automatically assigned