Property | Type | Description | |
---|---|---|---|
$allDetectionCapabilities | array | Per default the provider cannot detect anything Activate them in $detectionCapabilities | |
$defaultValues | |||
$detectionCapabilities | array | Set this in each Provider implementation | |
$homepage | string | Homepage of the provider | |
$name | string | Name of the provider | |
$packageName | string | Composer package name |
Method | Description | |
---|---|---|
getDetectionCapabilities ( ) : array | What kind of capabilities this provider can detect | |
getHomepage ( ) : string | Get the homepage | |
getName ( ) : string | Return the name of the provider | |
getPackageName ( ) : string | Get the package name | |
getUpdateDate ( ) : DateTim\DateTime | Get the last change date of the provider | |
getVersion ( ) : string | Return the version of the provider | |
parse ( string $userAgent, array $headers = [] ) : |
Parse the given user agent and return a result if possible |
Method | Description | |
---|---|---|
checkIfInstalled ( ) | ||
getRealResult ( $value, $group = null, $part = null ) | ||
isRealResult ( mixed $value, string $group = null, string $part = null ) : boolean |
public getDetectionCapabilities ( ) : array | ||
return | array |
public getPackageName ( ) : string | ||
return | string | null |
public getUpdateDate ( ) : DateTim\DateTime | ||
return | DateTim\DateTime | null |
public getVersion ( ) : string | ||
return | string | null |
protected array $allDetectionCapabilities | ||
return | array |
protected array $detectionCapabilities | ||
return | array |