프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
checkIfInstalled ( ) | ||
getRealResult ( $value, $group = null, $part = null ) | ||
isRealResult ( mixed $value, string $group = null, string $part = null ) : boolean |
public getDetectionCapabilities ( ) : array | ||
리턴 | array |
public getUpdateDate ( ) : DateTim\DateTime | ||
리턴 | DateTim\DateTime | null |
public getVersion ( ) : string | ||
리턴 | string | null |
protected array $allDetectionCapabilities | ||
리턴 | array |
protected array $detectionCapabilities | ||
리턴 | array |