Nextras\MailPanel\FileMailer::findFiles PHP Метод

findFiles() приватный Метод

private findFiles ( ) : string[]
Результат string[]
    private function findFiles()
    {
        if ($this->files === NULL) {
            $this->files = array();
            foreach (glob("{$this->tempDir}/*.mail") as $file) {
                $messageId = substr($file, -11, 6);
                $this->files[$messageId] = $file;
            }
            arsort($this->files);
        }
        return $this->files;
    }