Skip to content

Instantly share code, notes, and snippets.

@ludofleury
Created April 20, 2012 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ludofleury/2431505 to your computer and use it in GitHub Desktop.
Save ludofleury/2431505 to your computer and use it in GitHub Desktop.
# Symfony Doctrine MongoDB Configuration
doctrine_mongodb:
connections:
default:
server: %mongodb_server%
options:
connect: true
default_database: %mongodb_database%_%kernel.environment%
document_managers:
default:
auto_mapping: true
logging: true
metadata_cache_driver:
type: array
<?php
$this->storageManager
->getRepository('PlemiAuthServerBundle:Client')
->find($authCode->getClientId());
$this->storageManager
->getRepository('PlemiAuthServerBundle:Client')
->find($authCode->getClientId());
$this->storageManager
->getRepository('PlemiAuthServerBundle:Client')
->find($authCode->getClientId());
$this->storageManager
->getRepository('PlemiAuthServerBundle:Client')
->find($authCode->getClientId());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment