is_writable
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tells whether the filename is writable
Alias
is_writeable
is_writable
(
string $filename
):
bool
public function
isWritable
(
$path
)
{
return
is_writable
(
$path
);
}
src/Illuminate/Filesystem/Filesystem.php
protected function
write
(array
$manifest
)
{
if (!
is_writable
(
$dirname
=
dirname
(
$this
->
manifestPath
))) {
throw new
Exception
(
"The
{
$dirname
}
directory must be present and writable."
);
}
src/Illuminate/Foundation/PackageManifest.php
public function
writeManifest
(
$manifest
)
{
if (!
is_writable
(
$dirname
=
dirname
(
$this
->
manifestPath
))) {
throw new
Exception
(
"The
{
$dirname
}
directory must be present and writable."
);
}
src/Illuminate/Foundation/ProviderRepository.php