src/Database.php
public function useSqlFile(string $filepath): bool
    {
        if (!\file_exists($filepath)) {
            throw new DatabaseException('File missing for useSqlFile method: ' . $filepath);
        }

        $sqlFile = \file_get_contents($filepath);

        return $this->exec($sqlFile);
    }
public function useSqlFile(string $filepath): bool
    {
        if (!\file_exists($filepath)) {
            throw new DatabaseException('File missing for useSqlFile method: ' . $filepath);
        }

        $sqlFile = \file_get_contents($filepath);

        return $this->exec($sqlFile);
    }
public function useSqlFile ( string $ filepath ) : bool { if ( ! \ file_exists ( $ filepath ) ) { throw new DatabaseException ( 'File missing for useSqlFile method: ' . $ filepath ) ; } $ sqlFile = \ file_get_contents ( $ filepath ) ; return $ this -> exec ( $ sqlFile ) ; }
@param string $filepath

@throws DatabaseException

@return bool
@param string $filepath