src/Repositories/AbstractSqlStatementRepository.php
public function load($id)
    {

        // try to find the SQL statement with the passed key
        if (isset($this->preparedStatements[$id])) {
            return $this->preparedStatements[$id];
        }

        // throw an exception if NOT available
        throw new \Exception(sprintf('Can\'t find SQL statement with ID %s', $id));
    }
public function load($id)
    {

        // try to find the SQL statement with the passed key
        if (isset($this->preparedStatements[$id])) {
            return $this->preparedStatements[$id];
        }

        // throw an exception if NOT available
        throw new \Exception(sprintf('Can\'t find SQL statement with ID %s', $id));
    }
Returns the SQL statement with the passed ID.

@param string $id The ID of the SQL statement to return

@return string The SQL statement
@throws \Exception Is thrown, if the SQL statement with the passed key cannot be found