Skip to content

Commit c67a0c2

Browse files
removed TameFile() from support as method already being used by tamedevelopers/file
1 parent 73e0f21 commit c67a0c2

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,6 @@ Country::getCaptchaLocale('en');
631631
## File
632632
- The Core File utilities (read, write, copy, move, info).
633633
- Class: `Tamedevelopers\Support\Capsule\File`
634-
- It's helper class can be called, using -- `TameFile()`
635634

636635
### File Usage
637636

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"vlucas/phpdotenv": "^5.4.1",
2121
"phpmailer/phpmailer": "^6.9",
2222
"filp/whoops": "^2.15",
23-
"composer-plugin-api": "^2.0"
23+
"composer-plugin-api": "^2.0",
24+
"dompdf/dompdf": "^3.0"
2425
},
2526
"extra": {
2627
"class": "Tamedevelopers\\Support\\ComposerPlugin"

src/helpers.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Tamedevelopers\Support\Server;
1515
use Tamedevelopers\Support\Country;
1616
use Tamedevelopers\Support\Translator;
17-
use Tamedevelopers\Support\Capsule\File;
1817
use Tamedevelopers\Support\NumberToWords;
1918
use Tamedevelopers\Support\Capsule\Manager;
2019
use Tamedevelopers\Support\Process\Session;
@@ -79,17 +78,6 @@ function TameEnv($path = null)
7978
}
8079
}
8180

82-
if (! function_exists('TameFile')) {
83-
/**
84-
* File Class
85-
* @return \Tamedevelopers\Support\Capsule\File
86-
*/
87-
function TameFile()
88-
{
89-
return new File();
90-
}
91-
}
92-
9381
if (! function_exists('TameCookie')) {
9482
/**
9583
* Cookie Class

0 commit comments

Comments
 (0)