private function getSupportedFilesRecursively()
    {
        $dir_it = new \RecursiveDirectoryIterator($this->entity, \RecursiveDirectoryIterator::SKIP_DOTS);

        $files = new \RecursiveIteratorIterator(
            $dir_it,
            \RecursiveIteratorIterator::LEAVES_ONLY,
            \RecursiveIteratorIterator::CATCH_GET_CHILD
        );

        return $this->createRegexIterator($files);
    }
private function getSupportedFilesRecursively()
    {
        $dir_it = new \RecursiveDirectoryIterator($this->entity, \RecursiveDirectoryIterator::SKIP_DOTS);

        $files = new \RecursiveIteratorIterator(
            $dir_it,
            \RecursiveIteratorIterator::LEAVES_ONLY,
            \RecursiveIteratorIterator::CATCH_GET_CHILD
        );

        return $this->createRegexIterator($files);
    }
private function getSupportedFilesRecursively ( ) { $ dir_it = new \ RecursiveDirectoryIterator ( $ this -> entity , \ RecursiveDirectoryIterator :: SKIP_DOTS ) ; $ files = new \ RecursiveIteratorIterator ( $ dir_it , \ RecursiveIteratorIterator :: LEAVES_ONLY , \ RecursiveIteratorIterator :: CATCH_GET_CHILD ) ; return $ this -> createRegexIterator ( $ files ) ; }
Returns the supported files in the directory recursively

@return \RegexIterator The supported files in the directories
Returns the supported files in the directory recursively