예제 #1
0
 /**
  * Create an state line given its name and description
  *
  * @param string $name        Name
  * @param string $description Description
  *
  * @return StateLineInterface State Line
  */
 public function createStateLine($name, $description)
 {
     $stateLine = $this->stateLineFactory->create()->setName($name)->setDescription($description);
     return $stateLine;
 }