PHP Class PhpCompat, pkp-lib

Inheritance: extends CommandLineTool
Mostrar archivo Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$input_file the directory or file to be checked

Public Methods

Method 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 method

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

execute() public method

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

usage() public method

Print command usage information.
public usage ( )

Property Details

$input_file public_oe property

the directory or file to be checked
public $input_file