Jarves\File\FileInfoTrait::getExtension PHP Method

getExtension() public method

public getExtension ( )
    public function getExtension()
    {
        $lastDot = strrpos($this->getName(), '.');
        return false === $lastDot ? null : strtolower(substr($this->getName(), $lastDot + 1));
    }