PHP Class Acacha\Llum\Parser\LlumRCParser

ファイルを表示 Open project: acacha/llum Class Usage Examples

Protected Properties

Property Type Description
$file File to parse.

Public Methods

Method Description
__construct ( LlumRCFile $file ) LlumRCParser constructor.
getCredentials ( ) : array Get credentials from config file.
getGitHubUsername ( ) : array Get github username from config file.
parse ( ) : array Parse llumrc file.

Method Details

__construct() public method

LlumRCParser constructor.
public __construct ( LlumRCFile $file )
$file Acacha\Llum\LlumRCFile

getCredentials() public method

Get credentials from config file.
public getCredentials ( ) : array
return array

getGitHubUsername() public method

Get github username from config file.
public getGitHubUsername ( ) : array
return array

parse() public method

Parse llumrc file.
public parse ( ) : array
return array

Property Details

$file protected_oe property

File to parse.
protected $file