Symbiote\MicroBlog\Service\TransactionManager
Helper for running bits and pieces of code in transactions
Especially useful for running code as different user
- Author: marcus@symbiote.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class TransactionManager
{
- // methods
- public void __construct()
- public void runAsAdmin()
- public void run()
Tasks
Line | Task |
---|---|
23 | This is so horribly ugly - is there no better way to know that we're in dev/build for the first time? |