PHP Class PhpCompat, pkp-lib

Inheritance: extends CommandLineTool
Afficher le fichier Open project: pkp/pkp-lib Class Usage Examples

Méthodes publiques

Свойство Type Description
$input_file the directory or file to be checked

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

execute() public méthode

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

usage() public méthode

Print command usage information.
public usage ( )

Property Details

$input_file public_oe property

the directory or file to be checked
public $input_file