You are here

public function HumanNameParser::__construct in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 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,
  ]);
}