Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Checktype.php
Go to the documentation of this file.
1 <?php
13 
15 {
21  public function toOptionArray()
22  {
23  return [
24  ['value' => \Magento\SendFriend\Helper\Data::CHECK_IP, 'label' => __('IP Address')],
25  ['value' => \Magento\SendFriend\Helper\Data::CHECK_COOKIE, 'label' => __('Cookie (unsafe)')]
26  ];
27  }
28 }
__()
Definition: __.php:13