for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Translator\Event;
/**
* The event is thrown when translation is missing.
*/
final class MissingTranslationEvent
{
* @param string $category Category of the missing translation.
* @param string $language Language of the missing translation.
* @param string $message Message of the missing translation.
public function __construct(private string $category, private string $language, private string $message)
}
* @return string Category of the missing translation.
public function getCategory(): string
return $this->category;
* @return string Language of the missing translation.
public function getLanguage(): string
return $this->language;
* @return string Message of the missing translation.
public function getMessage(): string
return $this->message;