WP_CLI

DocParser::__construct()publicWP-CLI 1.0

Method of the class: DocParser{}

No Hooks.

Return

null. Nothing (null).

Usage

$DocParser = new DocParser();
$DocParser->__construct( $doc_comment );
$doc_comment(string) (required)
-

DocParser::__construct() code WP-CLI 2.8.0-alpha

public function __construct( $doc_comment ) {
	/* Make sure we have a known line ending in document */
	$doc_comment       = str_replace( "\r\n", "\n", $doc_comment );
	$this->doc_comment = self::remove_decorations( $doc_comment );
}