mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 14:50:39 -04:00
Add Db::QueryBool() and some code style updates
This commit is contained in:
parent
854ec6b9df
commit
44901cf3e2
9 changed files with 100 additions and 77 deletions
15
lib/Exceptions/MultiSelectMethodNotFoundException.php
Normal file
15
lib/Exceptions/MultiSelectMethodNotFoundException.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class MultiSelectMethodNotFoundException extends AppException{
|
||||
public function __construct(string $class = ''){
|
||||
if($class != ''){
|
||||
$this->message = 'Multi table select attempted, but class ' . $class . ' doesn\'t have a FromMultiTableRow() method.';
|
||||
}
|
||||
else{
|
||||
$this->message = 'Multi table select attempted, but the class doesn\'t have a FromMultiTableRow() method.';
|
||||
}
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue