SymbolicLink

  • SymbolicLink()

Validates if the given input is a symbolic link.

v::symbolicLink()->validate('/path/of/valid/symbolic/link'); // true
v::symbolicLink()->validate(new SplFileInfo('/path/of/valid/symbolic/link)); // true
v::symbolicLink()->validate(new SplFileObject('/path/of/valid/symbolic/link')); // true

Categorization

  • File system

Changelog

Version Description
0.5.0 Created

See also: