Esempio n. 1
0
 /**
  * get options as key value pair
  *
  * @return array
  */
 public function toOptionArray()
 {
     if (is_null($this->options)) {
         $this->options = $this->countryCollectionFactory->create()->toOptionArray(' ');
     }
     return $this->options;
 }