SplFileInfo::getType

SplFileInfo::getType

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::getTypeGets file type

Description

public string SplFileInfo::getType ( void )

Returns the type of the file referenced.

Parameters

This function has no parameters.

Return Values

A string representing the ty