PHP Class LadyCommand

Show file Open project: unu/ladyphp

Public Properties

Property Type Description
$quiet

Public Methods

Method Description
convertDirectory ( $dir, $convertToLady = false )
convertFile ( $inputFile, $outputFile = null, $convertToLady = false )
run ( $argv )
testDirectory ( $dir, $showDiff = false )
testFile ( $phpFile, $showDiff = false, $batch = false )
watchDirectory ( $dir, $convertToLady = false )

Protected Methods

Method Description
getFilesFromDirectory ( $dir, $ext = null )
log ( $text, $nl = true )
showHelp ( )

Method Details

convertDirectory() public method

public convertDirectory ( $dir, $convertToLady = false )

convertFile() public method

public convertFile ( $inputFile, $outputFile = null, $convertToLady = false )

getFilesFromDirectory() protected method

protected getFilesFromDirectory ( $dir, $ext = null )

log() protected method

protected log ( $text, $nl = true )

run() public method

public run ( $argv )

showHelp() protected method

protected showHelp ( )

testDirectory() public method

public testDirectory ( $dir, $showDiff = false )

testFile() public method

public testFile ( $phpFile, $showDiff = false, $batch = false )

watchDirectory() public method

public watchDirectory ( $dir, $convertToLady = false )

Property Details

$quiet public property

public $quiet