PHP 클래스 PhpCompat, pkp-lib

상속: extends CommandLineTool
파일 보기 프로젝트 열기: pkp/pkp-lib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$input_file the directory or file to be checked

공개 메소드들

메소드 설명
__construct ( $argv = [] ) Constructor.
execute ( ) Parse the given file or directory and determine the minimum PHP version needed to execute the code.
usage ( ) Print command usage information.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( $argv = [] )
$argv array command-line arguments The first argument must be the file to check

execute() 공개 메소드

Parse the given file or directory and determine the minimum PHP version needed to execute the code.
public execute ( )

usage() 공개 메소드

Print command usage information.
public usage ( )

프로퍼티 상세

$input_file 공개적으로 프로퍼티

the directory or file to be checked
public $input_file