private function getImageFiles()
    {
        if ($this->imageFiles === null) {
            // Get a list of images.
            $this->imageFiles = $this->filesystem
                ->find()
                ->in('files://')
                ->name('/\.jpe?g$/')
                ->name('*.png')
                ->toArray()
            ;
        }

        return $this->imageFiles;
    }
private function getImageFiles()
    {
        if ($this->imageFiles === null) {
            // Get a list of images.
            $this->imageFiles = $this->filesystem
                ->find()
                ->in('files://')
                ->name('/\.jpe?g$/')
                ->name('*.png')
                ->toArray()
            ;
        }

        return $this->imageFiles;
    }
private function getImageFiles ( ) { if ( $ this -> imageFiles === null ) { // Get a list of images. $ this -> imageFiles = $ this -> filesystem -> find ( ) -> in ( 'files://' ) -> name ( '/\.jpe?g$/' ) -> name ( '*.png' ) -> toArray ( ) ; } return $ this -> imageFiles ; }
Return an array of file names in the "files" filesystem.

@return \Bolt\Filesystem\Handler\Image[]
Return an array of file names in the files filesystem .