PSR-4 compliance & autoloader

This commit is contained in:
Gilles Crettenand
2015-06-02 01:20:48 +02:00
parent 6690b9fe55
commit ab2092e9c3
16 changed files with 128 additions and 87 deletions

View File

@@ -0,0 +1,9 @@
<?php
namespace BSR\Lib\Exception;
class BookNotFoundException extends WebException {
public function __construct($code) {
parent::__construct('BookNotFound', "The book with code $code was not found", -404);
}
}