Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
FieldToConvert.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Framework\DB;
8 
10 
15 {
19  private $dataConverterClass;
20 
24  private $tableName;
25 
29  private $identifierField;
30 
34  private $fieldName;
35 
39  private $queryModifier;
40 
50  public function __construct(
51  $dataConverter,
52  $table,
53  $identifierField,
54  $fieldName,
55  QueryModifierInterface $queryModifier = null
56  ) {
57  $this->dataConverterClass = $dataConverter;
58  $this->tableName = $table;
59  $this->fieldName = $fieldName;
60  $this->identifierField = $identifierField;
61  $this->queryModifier = $queryModifier;
62  }
63 
69  public function getDataConverterClass()
70  {
71  return $this->dataConverterClass;
72  }
73 
79  public function getTableName()
80  {
81  return $this->tableName;
82  }
83 
89  public function getIdentifierField()
90  {
91  return $this->identifierField;
92  }
93 
99  public function getFieldName()
100  {
101  return $this->fieldName;
102  }
103 
109  public function getQueryModifier()
110  {
111  return $this->queryModifier;
112  }
113 }
__construct( $dataConverter, $table, $identifierField, $fieldName, QueryModifierInterface $queryModifier=null)
$table
Definition: trigger.php:14