public function saveToFile()
    {
        $emails = $this->getEmailTemplatesFromRepository()->toJson();

        $this->filesystem->put($this->storagePath, $emails);
    }
public function saveToFile()
    {
        $emails = $this->getEmailTemplatesFromRepository()->toJson();

        $this->filesystem->put($this->storagePath, $emails);
    }
public function saveToFile ( ) { $ emails = $ this -> getEmailTemplatesFromRepository ( ) -> toJson ( ) ; $ this -> filesystem -> put ( $ this -> storagePath , $ emails ) ; }
Gets email addresses from the repository and stores them in the file.
Gets email addresses from the repository and stores them in the file .