libSmalldb  v2.0.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RealPathList Class Reference

Inheritance diagram for RealPathList

Public Member Functions

 __construct (?string $prefix=null, array $paths=[])
 
 add (string $path)
 
 isEmpty ()
 
 containsExact (string $path)
 
 contains (string $path)
 $path is a subpath (subdirectory) of one of the paths in the list. More...
 

Protected Member Functions

 normalize (string $path)
 

Protected Attributes

string $prefix = null
 
string $separator = DIRECTORY_SEPARATOR
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $prefix = null,
array  $paths = [] 
)

Member Function Documentation

◆ normalize()

normalize ( string  $path)
protected

◆ add()

add ( string  $path)
inherited

◆ isEmpty()

isEmpty ( )
inherited

◆ containsExact()

containsExact ( string  $path)
inherited

◆ contains()

contains ( string  $path)
inherited

$path is a subpath (subdirectory) of one of the paths in the list.

Member Data Documentation

◆ $prefix

string $prefix = null
protected

◆ $separator

string $separator = DIRECTORY_SEPARATOR
protected