phpCAS::getVersion PHP Method

getVersion() public static method

This method returns the phpCAS version.
public static getVersion ( ) : the
return the phpCAS version.
    public static function getVersion()
    {
        return PHPCAS_VERSION;
    }

Usage Example

 public function __construct(array $options = array())
 {
     $this->options = $options;
     \phpCAS::getVersion();
     \phpCAS::setDebug('/tmp/cas-log.log');
     \phpCAS::setVerbose(true);
     $this->client = new \CAS_Client(SAML_VERSION_1_1, false, $this->options['webnet.sso_auth.client.option.cas_host.value'], $this->options['webnet.sso_auth.client.option.cas_port.value'], $this->options['webnet.sso_auth.client.option.cas_context.value']);
     $this->client->setNoCasServerValidation();
     $this->client->handleLogoutRequests(false, false);
 }
All Usage Examples Of phpCAS::getVersion