touch
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sets access and modification time of file
touch
(
string $filename
, ?
int $mtime
=
null
, ?
int $atime
=
null
):
bool
$path
=
public_path
(
Str
::
finish
(
$directory
,
'/'
).
'mix-manifest.json'
);
touch
(
$path
);
tests/Foundation/FoundationHelpersTest.php
$path
=
public_path
(
Str
::
finish
(
$directory
,
'/'
).
'mix-manifest.json'
);
touch
(
$path
);
tests/Integration/Foundation/FoundationHelpersTest.php