-
Notifications
You must be signed in to change notification settings - Fork 1
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
f1f30e8
commit 3dddebc
Showing
4 changed files
with
51 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
namespace Dfe\YandexKassa\Source; | ||
// 2017-09-16 | ||
/** @method static Option s() */ | ||
final class Option extends \Df\Config\Source { | ||
/** | ||
* @override | ||
* @see \Df\Config\Source::map() | ||
* @used-by \Df\Config\Source::toOptionArray() | ||
* @return array(string => string) | ||
*/ | ||
protected function map() {return df_sort_names(df_map(function(array $a) {return dfa_deep( | ||
$a, 'title/' . df_lang_ru_en() | ||
);}, df_module_json($this, 'options')));} | ||
} |
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
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