Bolt\Translation\TranslationFile::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Silex\Application $app, string $domain, string $locale )
$app Silex\Application
$domain string Requested resource
$locale string Requested locale
    public function __construct(Application $app, $domain, $locale)
    {
        $this->app = $app;
        $this->domain = $domain;
        // Build Path
        list($this->absPath, $this->relPath) = $this->buildPath($domain, $locale);
    }