You are here

public function HumanNameParser::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x src/HumanNameParser.php \Drupal\bibcite\HumanNameParser::__construct()

HumanNameParser constructor.

File

src/HumanNameParser.php, line 22

Class

HumanNameParser
Human name parser service.

Namespace

Drupal\bibcite

Code

public function __construct() {
  $this->parser = new Parser([
    'mandatory_last_name' => FALSE,
    'mandatory_middle_name' => FALSE,
  ]);
}