src/Webtrees/Module/CertificatesModule.php
public function getProvider() {
        if(!$this->provider) {
            $root_path = $this->getSetting('MAJ_CERT_ROOTDIR', 'certificates/');
            $this->provider = new CertificateFileProvider($root_path, Globals::getTree());
        }
        return $this->provider;
    }
public function getProvider() {
        if(!$this->provider) {
            $root_path = $this->getSetting('MAJ_CERT_ROOTDIR', 'certificates/');
            $this->provider = new CertificateFileProvider($root_path, Globals::getTree());
        }
        return $this->provider;
    }
public function getProvider ( ) { if ( ! $ this -> provider ) { $ root_path = $ this -> getSetting ( 'MAJ_CERT_ROOTDIR' , 'certificates/' ) ; $ this -> provider = new CertificateFileProvider ( $ root_path , Globals :: getTree ( ) ) ; } return $ this -> provider ; }
Returns the default Certificate File Provider, as configured in the module

@return \MyArtJaub\Webtrees\Module\Certificates\Model\CertificateProviderInterface
Returns the default Certificate File Provider as configured in the module