Open
Description
in Symfony/src/Codebender/CompilerBundle/Handler/UtilityHandler.php, line 109
Method names should be declared in
camelCase
. You should rename this class to comply with PSR-1.
*
* \param string $directory The directory to search for files.
* \param mixed $extensions An array of strings, the extensions to look for.
* \return A list of files that have the appropriate extension.
*/
function get_files_by_extension($directory, $extensions)
{
if (is_string($extensions))
$extensions = array($extensions);
$files = array();
Posted from SensioLabsInsight
Metadata
Metadata
Assignees
Labels
No labels