PHP Class Fragen\GitHub_Updater\Readme_Parser

Inheritance: extends Parser
Afficher le fichier Open project: afragen/github-updater

Méthodes publiques

Méthode Description
__construct ( string $file_contents ) Constructor.
parse_data ( ) : array

Méthodes protégées

Méthode Description
parse_markdown ( string $text ) : string
sanitize_contributors ( array $users ) : array

Method Details

__construct() public méthode

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

parse_data() public méthode

public parse_data ( ) : array
Résultat array

parse_markdown() protected méthode

protected parse_markdown ( string $text ) : string
$text string
Résultat string

sanitize_contributors() protected méthode

protected sanitize_contributors ( array $users ) : array
$users array
Résultat array