public function createFromLicenseName($licenseName, array $replacements = array())
    {
        $replacements['thisYear'] = date('Y');

        try {
            return $this->twig->render($licenseName, $replacements);
        } catch (\Twig_Error_Loader $e) {
            throw new \InvalidArgumentException('Invalid license name provided');
        }
    }