BSR -> Bsr

This commit is contained in:
Guillermo Dev
2018-10-13 23:00:40 +02:00
parent d26338c723
commit 9a1384a5bf
5 changed files with 9 additions and 9 deletions

View File

@@ -10,7 +10,7 @@
} }
], ],
"autoload": { "autoload": {
"psr-4": {"BSR\\" : "src/"} "psr-4": {"Bsr\\" : "src/"}
}, },
"repositories" : [ "repositories" : [
{ {

2
composer.lock generated
View File

@@ -22,7 +22,7 @@
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"BSR\\Config\\": "src/" "Bsr\\Config\\": "src/"
} }
}, },
"authors": [ "authors": [

View File

@@ -1,10 +1,10 @@
<?php <?php
namespace BSR\BookSearch; namespace Bsr\BookSearch;
use BSR\Config\Configuration; use Bsr\Config\Configuration;
use BSR\BookSearch\Exception\WebException; use Bsr\BookSearch\Exception\WebException;
//use BSR\Webservice\Logger; //use Bsr\Webservice\Logger;
mb_http_output('UTF-8'); mb_http_output('UTF-8');

View File

@@ -1,12 +1,12 @@
<?php <?php
namespace BSR\Search\Exception; namespace Bsr\Search\Exception;
/** /**
* This exception should be raised when trying to access or * This exception should be raised when trying to access or
* manipulate a non-existing book. * manipulate a non-existing book.
* *
* @package BSR\Lib\Exception * @package Bsr\Lib\Exception
*/ */
class BookNotFoundException extends WebException { class BookNotFoundException extends WebException {
public function __construct($code) { public function __construct($code) {

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace BSR\BookSearch\Exception; namespace Bsr\BookSearch\Exception;
class WebException extends \Exception class WebException extends \Exception
{ {