public function run()
    {
        if (!class_exists(CustomisationExtension::class)) {
            return;
        }
        $contents = $this->load();

        $this->updateSiteBundleLoader($contents);

        if (!$contents->isEmpty()) {
            $this->save($contents);
        }
    }
public function run()
    {
        if (!class_exists(CustomisationExtension::class)) {
            return;
        }
        $contents = $this->load();

        $this->updateSiteBundleLoader($contents);

        if (!$contents->isEmpty()) {
            $this->save($contents);
        }
    }
public function run ( ) { if ( ! class_exists ( CustomisationExtension :: class ) ) { return ; } $ contents = $ this -> load ( ) ; $ this -> updateSiteBundleLoader ( $ contents ) ; if ( ! $ contents -> isEmpty ( ) ) { $ this -> save ( $ contents ) ; } }
Setup .bolt.yml file if needed.
Setup . bolt . yml file if needed .