Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Instructions.php
Go to the documentation of this file.
1 <?php
7 
15 {
21  protected $_instructions;
22 
26  protected $_template = 'Magento_Payment::info/instructions.phtml';
27 
34  public function getInstructions()
35  {
36  if ($this->_instructions === null) {
37  $this->_instructions = $this->getInfo()->getAdditionalInformation(
38  'instructions'
39  ) ?: trim($this->getMethod()->getConfigData('instructions'));
40  }
41  return $this->_instructions;
42  }
43 }