Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
AbstractCommand Class Reference
Inheritance diagram for AbstractCommand:
AbstractPluginCommand Compatibility GlobalizedConfig DescribeModels PrivateKeys I18NCommand PluginActivate PluginDeactivate PluginInfo PluginInstall PluginListMigrations PluginMigrate PluginRegister PluginScan PluginStatusMigrations PluginUnregister

Protected Member Functions

 getFolderIterator (string $folder, bool $recursive=false,?array $extensions=null)
 
 relativeFilePath (string $filepath, bool $plugin=false)
 
 absoluteFilePath (string $filepath, bool $plugin=false)
 

Member Function Documentation

absoluteFilePath ( string  $filepath,
bool  $plugin = false 
)
protected
getFolderIterator ( string  $folder,
bool  $recursive = false,
?array  $extensions = null 
)
protected

Returns a folder iterator accessing all files inside that folder.

Parameters
string$folderFolder to return iterator for
bool$recursiveRecurse into subfolders as well
array | null$extensionsOptional list of extensions for files to be returned
Returns
Iterator
relativeFilePath ( string  $filepath,
bool  $plugin = false 
)
protected

The documentation for this class was generated from the following file: