public function translate(Proxy $proxy)
    {
        $this->proxy   = $proxy;
        $laravelPhpbu  = $this->proxy->get('phpbu');
        $configuration = new Configuration();
        $configuration->setFilename($this->proxy->get('phpbu.config'));

        $this->addBackups($configuration, $laravelPhpbu);

        return $configuration;
    }
public function translate(Proxy $proxy)
    {
        $this->proxy   = $proxy;
        $laravelPhpbu  = $this->proxy->get('phpbu');
        $configuration = new Configuration();
        $configuration->setFilename($this->proxy->get('phpbu.config'));

        $this->addBackups($configuration, $laravelPhpbu);

        return $configuration;
    }
public function translate ( Proxy $ proxy ) { $ this -> proxy = $ proxy ; $ laravelPhpbu = $ this -> proxy -> get ( 'phpbu' ) ; $ configuration = new Configuration ( ) ; $ configuration -> setFilename ( $ this -> proxy -> get ( 'phpbu.config' ) ) ; $ this -> addBackups ( $ configuration , $ laravelPhpbu ) ; return $ configuration ; }
Translates the laravel configuration to a phpbu configuration.

@param  \phpbu\Laravel\Configuration\Proxy $proxy
@return \phpbu\App\Configuration
@throws \phpbu\Laravel\Configuration\Exception
Translates the laravel configuration to a phpbu configuration .