Can't this be shortened to:

    $validators = isset($app['validator.validator_service_ids']) ? $app['validator.validator_service_ids'] : array();