Guides

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

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
bool

isSatisfiedBy()

public isSatisfiedBy(array<string, mixed>|StorageAttributes $value) : bool
Parameters
$value : array<string, mixed>|StorageAttributes
Return values
bool

willBeSatisfiedByEverythingBelow()

public willBeSatisfiedByEverythingBelow(array<string, mixed>|StorageAttributes $value) : bool
Parameters
$value : array<string, mixed>|StorageAttributes
Return values
bool

pathOf()

private pathOf(array<string, mixed>|StorageAttributes $value) : string
Parameters
$value : array<string, mixed>|StorageAttributes
Return values
string
On this page

Search results