VISU - PHP Game Framework

FileSystem
in package

Table of Contents

Methods

isPathInDirectory()  : bool
Returns boolean if the given path is in a containing directory.

Methods

isPathInDirectory()

Returns boolean if the given path is in a containing directory.

public static isPathInDirectory(string $path, string $directory) : bool
Parameters
$path : string

The path to check.

$directory : string

The directory the path should be in.

Return values
bool

        
On this page

Search results