Skip to content

Commit

Permalink
etn406#22 Added $throwExceptions property
Browse files Browse the repository at this point in the history
  • Loading branch information
TuxBoy committed Jun 7, 2016
1 parent b84c30d commit 5ab1516
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions AlloImage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,13 @@ class AlloImage
*/

private $imagePath;



/**
* @var Exception
*/
private $throwExceptions;


/**
* Image par défaut
*
Expand Down Expand Up @@ -295,6 +300,7 @@ public function setImageHost($server)
* Si l'url est invalide, l'image utilisée sera celle par défaut.
*
* @param string $url=null L'URL de l'image.
* @param string $imageHost
* @throws ErrorException
*/

Expand Down Expand Up @@ -407,6 +413,7 @@ public function __toString()
* @param string $message=null Le message de l'erreur
* @param int $code=0 Le code de l'erreur
* @return ErrorException|null
* @throws ErrorException
*/
public function error($message = null, $code = 0)
{
Expand Down

0 comments on commit 5ab1516

Please sign in to comment.