module/Paragraph/src/Grid/Paragraph/Model/Snippet/Mapper.php
public function findAll()
    {
        return new CallbackMapIterator(
            new FilesystemIterator(
                $this->getSavePath(),
                FilesystemIterator::SKIP_DOTS |
                FilesystemIterator::KEY_AS_FILENAME |
                FilesystemIterator::CURRENT_AS_FILEINFO
            ),
            function ( SplFileInfo $info ) {
                return $info->getFilename();
            }
        );
    }
public function findAll()
    {
        return new CallbackMapIterator(
            new FilesystemIterator(
                $this->getSavePath(),
                FilesystemIterator::SKIP_DOTS |
                FilesystemIterator::KEY_AS_FILENAME |
                FilesystemIterator::CURRENT_AS_FILEINFO
            ),
            function ( SplFileInfo $info ) {
                return $info->getFilename();
            }
        );
    }
public function findAll ( ) { return new CallbackMapIterator ( new FilesystemIterator ( $ this -> getSavePath ( ) , FilesystemIterator :: SKIP_DOTS | FilesystemIterator :: KEY_AS_FILENAME | FilesystemIterator :: CURRENT_AS_FILEINFO ) , function ( SplFileInfo $ info ) { return $ info -> getFilename ( ) ; } ) ; }
Find all snippets

@return \Iterator
Find all snippets