Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Match.php
Go to the documentation of this file.
1 <?php
7 
9 
15 class Match implements QueryInterface
16 {
22  protected $name;
23 
29  protected $value;
30 
36  protected $boost;
37 
48  protected $matches = [];
49 
57  public function __construct($name, $value, $boost, array $matches)
58  {
59  $this->name = $name;
60  $this->value = $value;
61  $this->boost = $boost;
62  $this->matches = $matches;
63  }
64 
68  public function getValue()
69  {
70  return $this->value;
71  }
72 
77  public function getType()
78  {
80  }
81 
86  public function getName()
87  {
88  return $this->name;
89  }
90 
95  public function getBoost()
96  {
97  return $this->boost;
98  }
99 
106  public function getMatches()
107  {
108  return $this->matches;
109  }
110 }
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
__construct($name, $value, $boost, array $matches)
Definition: Match.php:57