Skip to content

Commit

Permalink
Merge pull request #57 from camohub/master
Browse files Browse the repository at this point in the history
ADD Support for SK, DE, RU languages
  • Loading branch information
f3l1x authored Jan 14, 2017
2 parents 6a8af2a + 8e87b3d commit af1ba67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Gopay/Gopay.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ class Gopay extends Object
const LANG_CS = 'CS';
/** @const English */
const LANG_EN = 'EN';
/** @const Slovak */
const LANG_SK = 'SK';
/** @const German */
const LANG_DE = 'DE';
/** @const Russian */
const LANG_RU = 'RU';

/** @var Config */
private $config;
Expand Down
3 changes: 3 additions & 0 deletions src/Gopay/Service/AbstractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ abstract class AbstractService extends Object
protected $allowedLang = [
Gopay::LANG_CS,
Gopay::LANG_EN,
Gopay::LANG_SK,
Gopay::LANG_DE,
Gopay::LANG_RU,
];

/**
Expand Down

0 comments on commit af1ba67

Please sign in to comment.