src/Translator.php
public function setPath($path)
	{
		if ($path === null)
		{
			throw new PathCanNotBeNull();
		}
		$this->path = rtrim($path, '\\/') . '/';

		return $this;
	}
public function setPath($path)
	{
		if ($path === null)
		{
			throw new PathCanNotBeNull();
		}
		$this->path = rtrim($path, '\\/') . '/';

		return $this;
	}
set the path to the translations

@param string $path
@return self
@throws PathCanNotBeNull