PHP Class Fragen\GitHub_Updater\Readme_Parser

Inheritance: extends Parser
Datei anzeigen Open project: afragen/github-updater

Public Methods

Method Description
__construct ( string $file_contents ) Constructor.
parse_data ( ) : array

Protected Methods

Method Description
parse_markdown ( string $text ) : string
sanitize_contributors ( array $users ) : array

Method Details

__construct() public method

Constructor.
public __construct ( string $file_contents )
$file_contents string Contents of file.

parse_data() public method

public parse_data ( ) : array
return array

parse_markdown() protected method

protected parse_markdown ( string $text ) : string
$text string
return string

sanitize_contributors() protected method

protected sanitize_contributors ( array $users ) : array
$users array
return array