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

Inheritance diagram for PathList

Public Member Functions

 __construct (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 $separator = '/'
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( array  $paths = [])

Member Function Documentation

◆ normalize()

normalize ( string  $path)
protected

◆ add()

add ( string  $path)

◆ isEmpty()

isEmpty ( )

◆ containsExact()

containsExact ( string  $path)

◆ contains()

contains ( string  $path)

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

Member Data Documentation

◆ $separator

string $separator = '/'
protected