Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Added class from path
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Sep 10, 2020
1 parent f4b03eb commit e74aa56
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@
{
"name": "Ahmad Firoz"
}
]
],
"autoload": {
"psr-4": {
"Orchid\\IconPack\\": "src/"
}
}
}
18 changes: 18 additions & 0 deletions src/Path.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

declare(strict_types=1);

namespace Orchid\IconPack;

class Path
{
/**
* @return string
*/
public static function getFolder(): string
{
$current = dirname(__DIR__, 1);

return realpath($current . '/svg');
}
}

0 comments on commit e74aa56

Please sign in to comment.