Пример #1
0
 /**
  * A label is a bean with only an id, type and name property.
  * This function will dispense beans for all entries in the array. The
  * values of the array will be assigned to the name property of each
  * individual bean.
  *
  * @param string $type   type of beans you would like to have
  * @param array  $labels list of labels, names for each bean
  *
  * @return array
  */
 public static function dispenseLabels($type, $labels)
 {
     return self::$labelMaker->dispenseLabels($type, $labels);
 }
 /**
  * A label is a bean with only an id, type and name property.
  * This function will dispense beans for all entries in the array. The
  * values of the array will be assigned to the name property of each
  * individual bean.
  *
  * @param string $type   type of beans you would like to have
  * @param array  $labels list of labels, names for each bean
  *
  * @return array
  */
 public function dispenseLabels($type, $labels)
 {
     return $this->labelMaker->dispenseLabels($type, $labels);
 }