\ReadOnlyAspect
Class ReadOnlyAspect
A simple BeforeCallAspect which disables and ddl or write operations from executing
if ReadOnlyMode is set to active.
Synopsis
class ReadOnlyAspect
implements
BeforeCallAspect
{
- // members
- public bool $activate;
- public $throwExceptions;
- // methods
- public bool beforeCall()
Hierarchy
Implements
- BeforeCallAspect
Members
public
- $activate — bool
- $throwExceptions —
Methods
public
- beforeCall() — Before call aspect which silently dis-allows write requests