phpCAS version 1.3.6

Public Member Functions | List of all members
CAS_ProxiedService_Testable Interface Reference
Inheritance diagram for CAS_ProxiedService_Testable:

## Public Member Functions
| setCasClient (CAS_Client $casClient)

## Detailed Description

Definition at line 56 of file Testable.php.

## Member Function Documentation

## ◆ setCasClient()

CAS_ProxiedService_Testable::setCasClient | ( | CAS_Client | $casClient | ) |

Use a particular CAS_Client->initializeProxiedService() rather than the static phpCAS::initializeProxiedService().

This method should not be called in standard operation, but is needed for unit testing.

Parameters

  CAS_Client | $casClient | Cas client object

Returns
  void

Exceptions

  CAS_OutOfSequenceException | If called after a proxy ticket has already been initialized/set.

Implemented in CAS_ProxiedService_Abstract.