PHP 클래스 MageScan\Check\Patch\MageReport

저자: Steve Robbins ([email protected])
상속: extends MageScan\Check\AbstractCheck
파일 보기 프로젝트 열기: steverobbins/magescan 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$patches List of patches to check for

공개 메소드들

메소드 설명
__construct ( string $url ) Set the URL
check ( string $endpoint ) : integer Check if a given patch is installed
checkAll ( ) : array Check all patches

보호된 메소드들

메소드 설명
getPatchName ( string $path ) : string Get patch name from path
parseResponse ( Response $response ) : string Derive if patched or not based on the response

메소드 상세

__construct() 공개 메소드

Set the URL
public __construct ( string $url )
$url string

check() 공개 메소드

Check if a given patch is installed
public check ( string $endpoint ) : integer
$endpoint string
리턴 integer

checkAll() 공개 메소드

Check all patches
public checkAll ( ) : array
리턴 array

getPatchName() 보호된 메소드

Get patch name from path
protected getPatchName ( string $path ) : string
$path string
리턴 string

parseResponse() 보호된 메소드

Derive if patched or not based on the response
protected parseResponse ( Response $response ) : string
$response GuzzleHttp\Psr7\Response
리턴 string

프로퍼티 상세

$patches 공개적으로 프로퍼티

List of patches to check for
public $patches