src/Loader/TomlLoader.php
public function load()
    {
        try {
            $this->content = Toml::parse($this->entity);
        } catch (\Exception $e) {
            throw new \RuntimeException(
                sprintf("'%s' failed to load with the error '%s'", $this->entity, $e)
            );
        }
        return $this;
    }
public function load()
    {
        try {
            $this->content = Toml::parse($this->entity);
        } catch (\Exception $e) {
            throw new \RuntimeException(
                sprintf("'%s' failed to load with the error '%s'", $this->entity, $e)
            );
        }
        return $this;
    }
{@inheritdoc}

@throws \RuntimeException If the `yosymfonytoml` library is not installed or the toml file is not valid