Skip to content

Instantly share code, notes, and snippets.

@caefer
Created April 14, 2011 19:33
Show Gist options
  • Select an option

  • Save caefer/920281 to your computer and use it in GitHub Desktop.

Select an option

Save caefer/920281 to your computer and use it in GitHub Desktop.
<?php
$app_1 = $container->get('caefer_facebook_canvas_app.app.app_1');
$app_2 = $container->get('caefer_facebook_canvas_app.app.app_2');
// this will still work and act as an alias to the first app configured (app_1)
$fb = $container->get('caefer_facebook_canvas_app.api');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment