glob
laravel/framework
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Find pathnames matching a pattern
glob
(
string $pattern
,
int $flags
=
0
): array|
false
public function
glob
(
$pattern
,
$flags
=
0
)
{
return
glob
(
$pattern
,
$flags
);
}
src/Illuminate/Filesystem/Filesystem.php
protected function
hasPhpFiles
(
string $path
):
bool
{
return
count
(
glob
(
$path
.
'/*.php'
)) >
0
;
}
src/Illuminate/Foundation/Console/AboutCommand.php