Skip to content

Instantly share code, notes, and snippets.

@cagataycali
Created September 14, 2015 12:25
Show Gist options
  • Save cagataycali/9fa2882c035e2f607f34 to your computer and use it in GitHub Desktop.
Save cagataycali/9fa2882c035e2f607f34 to your computer and use it in GitHub Desktop.
Parameters.yml içerindeki parametreye controller içerisinden ulaşmak From http://stackoverflow.com/questions/13901256/how-do-i-read-from-parameters-yml-in-a-controller-in-symfony2
$this->container->getParameter('api_user');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment