Methods
compilePatternToRegexp()
compilePatternToRegexp(mixed $pattern, $strictLeadingDot, $strictWildcartSlash)
Static
Parameters
$pattern
$strictLeadingDot
$strictWildcartSlash
Create a date time object.
createDateTime(\DateTime|int|string $time) : \DateTime
Static
Parameters
$time
\DateTime
int
string
A \DateTime object, a timestamp or a time format string.
Returns
Dirname function that only split on "/", required because we use UNIX path names all the time, even on windows!
dirname(string $path) : string
Static
Parameters
$path
string
Returns
string
Execute a php function, throw an AdapterException if the function failed.
executeFunction(mixed $callback, $exceptionClass, mixed $errorCode, mixed $errorMessage) : mixed
Static
Parameters
$callback
$exceptionClass
$errorCode
$errorMessage
Exceptions
Returns
mixed
Returns the absolute prefix of the given path
getAbsolutePrefix(string $path) : string
Static
Parameters
$path
string
A normalized path
Returns
string
Get the FileInfo resource identifier.
getFileInfo() : resource
Static
getPathnameParts()
getPathnameParts($path)
Static
hasBit()
hasBit($haystack, $bit)
Static
Parameters
$haystack
$bit
Indicates whether the given path is absolute or not
isAbsolute(string $path) : boolean
Static
Parameters
$path
string
A normalized path
Returns
boolean
Determine if the variable is traversable.
isTraversable(mixed $var)
Static
Normalizes the given path
normalizePath(string $path) : string
Static
Parameters
$path
string
Returns
string
streamCopy()
streamCopy(\Filicious\File $source, \Filicious\File $target)
Static
Parameters
$source
$target
string2bitMode()
string2bitMode($string)
Static
Strip a glob pattern from path.
stripPattern(mixed $pattern, mixed $path)
Static
Parameters
$pattern
$path
Properties
$finfo
$finfo : resource
Static