public getExtension ( ) : string | ||
return | string | The extension |
public function getExtension()
{
if ($this->extension == '') {
/* @noinspection PhpDeprecationInspection */
return $this->getLegacyExtension();
}
return $this->extension;
}