TwistPHP Documentation

mimeTypeInfo

File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

mimeTypeInfoGet file details by path or extension

Parameters

Name Type Description
$dirFilestringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$dirFile '/home/user/public_html/twist';

//Call the function mimeTypeInfo with the example vars
Twist::File() -> mimeTypeInfo($dirFile);