1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- declare(strict_types=1);
- namespace OCP\Translation;
- class CouldNotTranslateException extends \RuntimeException {
-
- public function __construct(
- protected ?string $from,
- ) {
- parent::__construct();
- }
-
- public function getFrom(): ?string {
- return $this->from;
- }
- }
|