Path

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

Class Path

View source (opens new window)

# 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 (opens new window)

Arguments

Returns

boolean (opens new window)