\Phug\Renderer\PartialFileSystemTrait

Trait FileSystemTrait: require OptionInterface to be implemented.

Summary

Methods
Properties
Constants
scanDirectory()
No public properties found
No constants found
fileMatchExtensions()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

scanDirectory()

scanDirectory(  $directory) : \Generator

Get all file matching extensions list recursively in a directory.

Parameters

$directory

Returns

\Generator

fileMatchExtensions()

fileMatchExtensions(  $path,   $extensions) 

Parameters

$path
$extensions