public
Created

  • Download Gist
Example.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?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());
config.yml
YAML
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.