refactor: susun semula struktur folder — Laravel source ke src/
This commit is contained in:
22
vendor/thecodingmachine/safe/generated/8.1/gettext.php
vendored
Normal file
22
vendor/thecodingmachine/safe/generated/8.1/gettext.php
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Safe;
|
||||
|
||||
use Safe\Exceptions\GettextException;
|
||||
|
||||
/**
|
||||
* @param string $domain
|
||||
* @param string $directory
|
||||
* @return string
|
||||
* @throws GettextException
|
||||
*
|
||||
*/
|
||||
function bindtextdomain(string $domain, string $directory): string
|
||||
{
|
||||
error_clear_last();
|
||||
$safeResult = \bindtextdomain($domain, $directory);
|
||||
if ($safeResult === false) {
|
||||
throw GettextException::createFromPhpError();
|
||||
}
|
||||
return $safeResult;
|
||||
}
|
||||
Reference in New Issue
Block a user