Stud.IP  5.4
AbstractCommand Class Reference
Inheritance diagram for AbstractCommand:
AbstractPluginCommand Compatibility 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()

absoluteFilePath ( string  $filepath,
bool  $plugin = false 
)
protected

◆ getFolderIterator()

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()

relativeFilePath ( string  $filepath,
bool  $plugin = false 
)
protected

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