Skip to content

Instantly share code, notes, and snippets.

@wowo
Created October 23, 2011 11:07
Show Gist options
  • Save wowo/1307252 to your computer and use it in GitHub Desktop.
Save wowo/1307252 to your computer and use it in GitHub Desktop.
<?php
// [...]
$loader->registerNamespaces(array(
// [...]
'lapistano' => __DIR__.'/../vendor/proxy-object/src/lapistano',
));
// [...]
// this one's important! you need it only with PHPUnit, so there's a condition
if (class_exists('PHPUnit_Runner_Version')) {
require_once __DIR__.'/../vendor/proxy-object/bootstrap.php';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment