WP_CLI
DocParser::__construct
Метод класса: DocParser{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$DocParser = new DocParser(); $DocParser->__construct( $doc_comment );
- $doc_comment(строка) (обязательный)
- .
Код DocParser::__construct() DocParser:: construct WP-CLI 2.13.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 );
}