WithinPath
extends CompositeSpecification
in package
FinalYes
Matches a path and everything below it, so a directory is matched with all its contents.
Unlike a Glob, it lets the finder skip a matching directory as a whole, and it does not change the values it is given, which Flysystem 3 does not allow.
Table of Contents
Properties
- $path : string
Methods
- __construct() : mixed
- canBeSatisfiedBySomethingBelow() : bool
- isSatisfiedBy() : bool
- willBeSatisfiedByEverythingBelow() : bool
- pathOf() : string
Properties
$path read-only
private
string
$path
Methods
__construct()
public
__construct(string $path) : mixed
Parameters
- $path : string
canBeSatisfiedBySomethingBelow()
public
canBeSatisfiedBySomethingBelow(array<string, mixed>|StorageAttributes $value) : bool
Parameters
- $value : array<string, mixed>|StorageAttributes
Return values
boolisSatisfiedBy()
public
isSatisfiedBy(array<string, mixed>|StorageAttributes $value) : bool
Parameters
- $value : array<string, mixed>|StorageAttributes
Return values
boolwillBeSatisfiedByEverythingBelow()
public
willBeSatisfiedByEverythingBelow(array<string, mixed>|StorageAttributes $value) : bool
Parameters
- $value : array<string, mixed>|StorageAttributes
Return values
boolpathOf()
private
pathOf(array<string, mixed>|StorageAttributes $value) : string
Parameters
- $value : array<string, mixed>|StorageAttributes