We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46508de commit 0bf4da0Copy full SHA for 0bf4da0
.gitignore
@@ -1 +1,2 @@
1
-fontawesome-svgs/
+fontawesome-svgs/
2
+.tinkerwell
src/FontAwesomeSVG.php
@@ -5,6 +5,10 @@ class FontAwesomeSVG {
5
public $svg_dir;
6
7
public function __construct($svg_dir) {
8
+ if( !is_dir($svg_dir) ) {
9
+ throw new Exception("Directory $svg_dir does not exist");
10
+ }
11
+
12
$this->svg_dir = $svg_dir;
13
}
14
0 commit comments