Skip to content

Commit

Permalink
2.12.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 21, 2017
1 parent df0c7a6 commit 4c1ab69
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Config/Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* @see \Df\Payment\Source
* @see \Df\Payment\Source\AC
* @see \Df\Payment\Source\Identification
* @see \Df\Payment\Source\Options\DisplayMode
* @see \Df\Sso\Source\Button\Type\UL
* @see \Dfe\AllPay\Source\Option
* @see \Dfe\AmazonLogin\Source\Button\Native\Color
Expand All @@ -37,8 +38,8 @@
* @see \Dfe\Square\Source\Location
* @see \Dfe\Stripe\Source\Prefill
* @see \Dfe\TwoCheckout\Source\Prefill
* @see \Dfe\YandexKassa\Source\Option
* @see \Dfe\ZohoCRM\Source\Domain
* @see \Dfe\YandexKassa\Source\Option
*
* 2017-03-28
* Мы вынуждены наследоваться от @see \Magento\Framework\DataObject,
Expand Down
19 changes: 19 additions & 0 deletions Payment/Source/Options/DisplayMode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
namespace Df\Payment\Source\Options;
// 2017-09-21
final class DisplayMode extends \Df\Config\Source {
/**
* 2017-09-21
* @override
* @see \Df\Config\Source::map()
* @used-by \Df\Config\Source::toOptionArray()
* @return array(string => string)
*/
protected function map() {return [self::IMAGES => 'images', 'text' => 'text'];}

/**
* 2017-09-21
* @used-by \Df\Payment\Source\Options\DisplayMode::map()
*/
const IMAGES = 'images';
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/core"
,"version": "2.12.12"
,"version": "2.12.13"
,"description": "Mage2.PRO core package."
,"type": "magento2-module"
,"homepage": "https://mage2.pro"
Expand Down

0 comments on commit 4c1ab69

Please sign in to comment.