updated-packages
This commit is contained in:
7
vendor/symfony/finder/SplFileInfo.php
vendored
7
vendor/symfony/finder/SplFileInfo.php
vendored
@@ -57,6 +57,13 @@ class SplFileInfo extends \SplFileInfo
|
||||
return $this->relativePathname;
|
||||
}
|
||||
|
||||
public function getFilenameWithoutExtension(): string
|
||||
{
|
||||
$filename = $this->getFilename();
|
||||
|
||||
return pathinfo($filename, \PATHINFO_FILENAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the contents of the file.
|
||||
*
|
||||
|
Reference in New Issue
Block a user