| 1 | <?php |
||
| 15 | class TranslateScopeEvent extends Event |
||
| 16 | { |
||
| 17 | /** @var string */ |
||
| 18 | private $scope; |
||
| 19 | |||
| 20 | /** @var string */ |
||
| 21 | private $translation; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * TranslateScopeEvent constructor. |
||
| 25 | * @param string $scope |
||
| 26 | */ |
||
| 27 | public function __construct($scope) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getScope() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function getTranslation() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $translation |
||
| 51 | * @return TranslateScopeEvent |
||
| 52 | */ |
||
| 53 | public function setTranslation($translation) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return bool |
||
| 62 | */ |
||
| 63 | public function isTranslated() |
||
| 67 | } |
||
| 68 |