Skip to content

Instantly share code, notes, and snippets.

@paulrichards19
Last active December 14, 2015 09:09
Show Gist options
  • Save paulrichards19/5063330 to your computer and use it in GitHub Desktop.
Save paulrichards19/5063330 to your computer and use it in GitHub Desktop.
Zend Framework - get a bootstap'ed item from the controller
<?php
$bootstrap = $this->getInvokeArg('bootstrap');
$log = $bootstrap->getResource('Log');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment