Skip to content

Instantly share code, notes, and snippets.

@simensen
Created January 27, 2010 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simensen/288229 to your computer and use it in GitHub Desktop.
Save simensen/288229 to your computer and use it in GitHub Desktop.
<?php
// We want to make certain we have the repose context
// included so that we can get the reposeSessionFactory
// object.
$context->import('repose.context.php');
$context->set('spaceRepository', array(
'className' => 's3a_domain_ReposeSpaceRepository',
'constructorArgs' => array(
'sessionFactory' => $context->ref('reposeSessionFactory'),
),
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment