original_string: protected function loadDatabase()
      {
          $this->hook->trigger(self::HOOK_INIT_DATABASE_BEFORE);
  
          $database = \Parable\DI\Container::get(\Parable\ORM\Database::class);
          $database->setConfig($this->config->get('parable.database'));
  
          $this->hook->trigger(self::HOOK_INIT_DATABASE_AFTER);
          return $this;
      }
code: protected function loadDatabase()
      {
          $this->hook->trigger(self::HOOK_INIT_DATABASE_BEFORE);
  
          $database = \Parable\DI\Container::get(\Parable\ORM\Database::class);
          $database->setConfig($this->config->get('parable.database'));
  
          $this->hook->trigger(self::HOOK_INIT_DATABASE_AFTER);
          return $this;
      }
code_tokens: protected function loadDatabase ( ) { $ this -> hook -> trigger ( self :: HOOK_INIT_DATABASE_BEFORE ) ; $ database = \ Parable \ DI \ Container :: get ( \ Parable \ ORM \ Database :: class ) ; $ database -> setConfig ( $ this -> config -> get ( 'parable.database' ) ) ; $ this -> hook -> trigger ( self :: HOOK_INIT_DATABASE_AFTER ) ; return $ this ; }
docstring: Initialize the database instance with data from the config.
  
  @return $this
docstring_tokens: Initialize the database instance with data from the config .