Jarves\Translation\Translator::__construct PHP Method

__construct() public method

Translator constructor.
public __construct ( Jarves $jarves, Cacher $cacher, Filesystem $webFilesystem, Filesystem $cacheFilesystem )
$jarves Jarves\Jarves
$cacher Jarves\Cache\Cacher
$webFilesystem Jarves\Filesystem\Filesystem
$cacheFilesystem Jarves\Filesystem\Filesystem
    function __construct(Jarves $jarves, Cacher $cacher, Filesystem $webFilesystem, Filesystem $cacheFilesystem)
    {
        $this->jarves = $jarves;
        $this->cacher = $cacher;
        $this->webFilesystem = $webFilesystem;
        $this->cacheFilesystem = $cacheFilesystem;
        $this->loadMessages();
    }