Craft 3 Class Reference

Class craft\errors\InvalidLicenseKeyException

Inheritance
craft\errors\InvalidLicenseKeyException » yii\base\Exception » Exception
Available since version
3.0
Source Code
https://github.com/craftcms/cms/blob/master/src/errors/InvalidLicenseKeyException.php

InvalidLicenseKeyException represents an exception caused by setting an invalid license key on a plugin.

Public Properties
Property Type Description Defined By
$licenseKey string, null The license key craft\errors\InvalidLicenseKeyException
Public Methods
Method Description Defined By
__construct() Constructor. craft\errors\InvalidLicenseKeyException
getName() craft\errors\InvalidLicenseKeyException

Property Details

$licenseKey public property #

The license key

public string, null $licenseKey null

Method Details

__construct() public method #

Constructor.

public void __construct ( \craft\errors\string $licenseKey, \craft\errors\string $message null, \craft\errors\int $code 0 )
$licenseKey string The invalid license key
$message string, null The error message
$code integer The error code

getName() public method #

public string getName ( )
return string The user-friendly name of this exception