protected function setupDrupalSettingsLocalInclude()
    {
        $this->taskWriteToFile($this->settingFile)
            ->append()
            ->appendUnlessMatches(
                '/if.+\/settings\.local\.php.+{\n.+\n\}/',
                $this->drupalSettingsLocalInclude()
            )
            ->run();

        return $this;
    }
protected function setupDrupalSettingsLocalInclude()
    {
        $this->taskWriteToFile($this->settingFile)
            ->append()
            ->appendUnlessMatches(
                '/if.+\/settings\.local\.php.+{\n.+\n\}/',
                $this->drupalSettingsLocalInclude()
            )
            ->run();

        return $this;
    }
protected function setupDrupalSettingsLocalInclude ( ) { $ this -> taskWriteToFile ( $ this -> settingFile ) -> append ( ) -> appendUnlessMatches ( '/if.+\/settings\.local\.php.+{\n.+\n\}/' , $ this -> drupalSettingsLocalInclude ( ) ) -> run ( ) ; return $ this ; }
Setup Drupal settings local include.

@return $this
Setup Drupal settings local include .