Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PropertyMapperAbstract.php
Go to the documentation of this file.
1 <?php
9 
11 {
20  protected function _getValue($array, $key, $default = null)
21  {
22  if (isset($array[$key]) && is_bool($array[$key])) {
23  $array[$key] = (int)$array[$key];
24  }
25  return isset($array[$key]) ? $array[$key] : $default;
26  }
27 }