PHP Класс PhpCompat, pkp-lib

Наследование: extends CommandLineTool
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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