Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

DomainOptions.php

Namespace

PhpTuf\ComposerStager\Internal\Translation\Service

File

vendor/php-tuf/composer-stager/src/Internal/Translation/Service/DomainOptions.php

View source
<?php

declare (strict_types=1);
namespace PhpTuf\ComposerStager\Internal\Translation\Service;

use PhpTuf\ComposerStager\API\Translation\Service\DomainOptionsInterface;

/**
 * @package Translation
 *
 * @internal Don't depend directly on this class. It may be changed or removed at any time without notice.
 */
final class DomainOptions implements DomainOptionsInterface {
    // These constants are private so that no project code depends
    // directly on them, which would make them impossible to override.
    private const DEFAULT = 'messages';
    private const EXCEPTIONS = 'exceptions';
    public function default() : string {
        return self::DEFAULT;
    }
    public function exceptions() : string {
        return self::EXCEPTIONS;
    }

}

Classes

Title Deprecated Summary
DomainOptions @package Translation

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal