CAS_Client::ensureIsProxy PHP Method

ensureIsProxy() public method

Ensure that this is actually a proxy object or fail with an exception
public ensureIsProxy ( ) : void
return void
    public function ensureIsProxy()
    {
        if (!$this->isProxy()) {
            throw new CAS_OutOfSequenceBeforeProxyException();
        }
    }
CAS_Client