コード例 #1
0
ファイル: LandmarkFactory.php プロジェクト: ner0tic/landmarx
 /**
  * Configures the newly created item with the passed options
  *
  * @param ItemInterface $item
  * @param array         $options
  */
 protected function configureItem(ItemInterface $item, array $options)
 {
     $item->setName($options['name'])->setDescription($options['description'])->setLatitude($options['latitude'])->setLongitude($options['longitude'])->setAttributes($options['attributes']);
 }