-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee0c467
commit c15893f
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
namespace Dfe\IPay88; | ||
use Dfe\IPay88\W\Event; | ||
use Magento\Framework\Phrase; | ||
// 2017-04-17 | ||
/** @method Event|string|null responseF(...$k) */ | ||
final class Choice extends \Df\Payment\Choice { | ||
/** | ||
* 2017-04-17 | ||
* @override | ||
* @see \Df\Payment\Choice::title() | ||
* @used-by \Df\Payment\Observer\DataProvider\SearchResult::execute() | ||
* @return Phrase|string|null | ||
*/ | ||
function title() {return dfc($this, function() {return /** @var Event $ev */ | ||
($ev = $this->responseF()) ? $ev->optionTitle() : __('Not yet paid') | ||
;});} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters