Path

Type
Class
Namespace
craft\helpers
Inherits
craft\helpers\Path
Since
3.0.0

Class Path

View source

# Public Methods

Method Description
ensurePathIsContained() Ensures that a relative path never goes deeper than its root directory.

# ensurePathIsContained()

Ensures that a relative path never goes deeper than its root directory.

View source

Arguments

Returns

boolean