Symfony\Component\HttpFoundation\File\File::getExtension
Returns the extension of the file.
\SplFileInfo::getExtension() is not available before PHP 5.3.6
Signature
public function getExtension()
Returns
- string
- The extension