adapter = $adapter ?: new ADECK_WordPress_Adapter(); } public function boot() { $this->admin = new ADECK_Admin( $this->adapter ); $this->frontend = new ADECK_Frontend( $this->adapter ); } }