Documentation

PrunableInterface

Interface PrunableInterface

Tags
psalm-immutable

Table of Contents

canBeSatisfiedBySomethingBelow()  : bool
Checks if anything under the directory path in value can possibly satisfy the specification.
willBeSatisfiedByEverythingBelow()  : bool
Returns true if it is known or can be deduced that everything under the directory path in value will certainly satisfy the specification.

Methods

canBeSatisfiedBySomethingBelow()

Checks if anything under the directory path in value can possibly satisfy the specification.

public canBeSatisfiedBySomethingBelow(array<string|int, mixed> $value) : bool
Parameters
$value : array<string|int, mixed>
Tags
psalm-param

array{basename: string, path: string, stream: resource, dirname: string, type: string, extension: string} $value

Return values
bool

willBeSatisfiedByEverythingBelow()

Returns true if it is known or can be deduced that everything under the directory path in value will certainly satisfy the specification.

public willBeSatisfiedByEverythingBelow(array<string|int, mixed> $value) : bool
Parameters
$value : array<string|int, mixed>
Tags
psalm-param

array{basename: string, path: string, stream: resource, dirname: string, type: string, extension: string} $value

Return values
bool

Search results