PHP 클래스 iphp, iphp

The shell includes readline support with tab-completion and history. To start the shell, simply run this script from your command line. Use ctl-d to exit the shell, or enter the command "exit".
파일 보기 프로젝트 열기: apinstein/iphp 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$autocompleteList
$commandEscapeChar
$inReadline
$inputPrompt
$internalCommands
$options
$outputPrompt
$tmpFileShellCommand
$tmpFileShellCommandRequires
$tmpFileShellCommandState

공개 메소드들

메소드 설명
__construct ( $options = [] ) Constructor
doCommand ( $command )
fakeReadline ( )
getPromptHeader ( )
historyFile ( )
initialize ( $options = [] )
main ( $options = [] )
options ( )
printHelp ( )
readlineCompleter ( $str )
runREPL ( )
stop ( )

비공개 메소드들

메소드 설명
getDefaultPhpBin ( )
initializeAutocompletion ( )
initializeCommands ( )
initializeOptions ( $options = [] )
initializeRequires ( )
initializeTags ( )
initializeTempFiles ( )
realReadline ( )
tmpDirName ( )
tmpFileNamed ( $name )

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $options = [] )

doCommand() 공개 메소드

public doCommand ( $command )

fakeReadline() 공개 메소드

public fakeReadline ( )

getPromptHeader() 공개 메소드

public getPromptHeader ( )

historyFile() 공개 메소드

public historyFile ( )

initialize() 공개 메소드

public initialize ( $options = [] )

main() 공개 정적인 메소드

public static main ( $options = [] )

options() 공개 메소드

public options ( )

printHelp() 공개 메소드

public printHelp ( )

readlineCompleter() 공개 메소드

public readlineCompleter ( $str )

runREPL() 공개 메소드

public runREPL ( )

stop() 공개 메소드

public stop ( )

프로퍼티 상세

$autocompleteList 보호되어 있는 프로퍼티

protected $autocompleteList

$commandEscapeChar 보호되어 있는 프로퍼티

protected $commandEscapeChar

$inReadline 보호되어 있는 프로퍼티

protected $inReadline

$inputPrompt 보호되어 있는 프로퍼티

protected $inputPrompt

$internalCommands 보호되어 있는 프로퍼티

protected $internalCommands

$options 보호되어 있는 프로퍼티

protected $options

$outputPrompt 보호되어 있는 프로퍼티

protected $outputPrompt

$tmpFileShellCommand 보호되어 있는 프로퍼티

protected $tmpFileShellCommand

$tmpFileShellCommandRequires 보호되어 있는 프로퍼티

protected $tmpFileShellCommandRequires

$tmpFileShellCommandState 보호되어 있는 프로퍼티

protected $tmpFileShellCommandState