PHP Class pharext\SourceDir\Git

Inheritance: implements IteratorAggregate, implements pharext\SourceDir, use trait pharext\License, use trait pharext\PackageInfo
Mostra file Open project: m6w6/pharext

Public Methods

Method Description
__construct ( $path )
getArgs ( ) : array
getBaseDir ( )
getIterator ( ) Implements IteratorAggregate
getLicense ( ) : string
getPackageInfo ( ) : array
setArgs ( Args $args )

Private Methods

Method Description
generateFiles ( ) : Generator Generate a list of files by git ls-files

Method Details

__construct() public method

See also: pharext\SourceDir::__construct()
public __construct ( $path )

getArgs() public method

public getArgs ( ) : array
return array

getBaseDir() public method

See also: pharext\SourceDir::getBaseDir()
public getBaseDir ( )

getIterator() public method

Implements IteratorAggregate
See also: IteratorAggregate::getIterator()
public getIterator ( )

getLicense() public method

public getLicense ( ) : string
return string

getPackageInfo() public method

public getPackageInfo ( ) : array
return array

setArgs() public method

public setArgs ( Args $args )
$args pharext\Cli\Args