Created
January 27, 2010 22:33
-
-
Save simensen/288224 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
abstract class s3a_domain_AbstractReposeRepository { | |
private $sessionFactory; | |
protected function __construct(repose_SessionFactory $sessionFactory) { | |
$this->sessionFactory = $sessionFactory; | |
} | |
public function getDataSource() { | |
return $this->getSession()->getDataSource(); | |
} | |
public function getSession() { | |
return $this->sessionFactory->getCurrentSession(); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment