Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
All Data Structures Namespaces Files Functions Variables Pages
ValidationRule.php
Go to the documentation of this file.
1 <?php
8 
14 {
18  public function getKey()
19  {
20  return $this->getData(self::KEY);
21  }
22 
26  public function getValue()
27  {
28  return $this->getData(self::VALUE);
29  }
30 
37  public function setKey($key)
38  {
39  return $this->setData(self::KEY, $key);
40  }
41 
48  public function setValue($value)
49  {
50  return $this->setData(self::VALUE, $value);
51  }
52 }
getData($key='', $index=null)
Definition: DataObject.php:119
$value
Definition: gender.phtml:16