TkiRequirements_Backend::getFileInfo
Finds file path and extension.
Signature
protected function getFileInfo(string|array
$file )
Parameters
$file
— object- - A simple file path string or array which is
either an associative array [ path => path, type => type ] or numeric [ 0 => path 1 => type ]
Returns
- array
- - Associative array with path and ext keys.
eg. [ 'path' => 'file1.css', 'ext' => 'css' ]