Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Range.php
Go to the documentation of this file.
1 <?php
7 
12 class Range
13 {
17  protected $from;
18 
22  protected $to;
23 
29  public function __construct($from, $to)
30  {
31  $this->from = $from;
32  $this->to = $to;
33  }
34 
41  public function getFrom()
42  {
43  return $this->from;
44  }
45 
52  public function getTo()
53  {
54  return $this->to;
55  }
56 }