Skip to content

Support for ICanBoogie's auto-config

Compare
Choose a tag to compare
@olvlvl olvlvl released this 21 Mar 09:32
· 276 commits to 6.0 since this release

The package supports the auto-config feature of the framework ICanBoogie and provides
the following:

  • A synthesizer for the activerecord_connections config, created from the activerecord
    fragments.
  • A lazy getter for the ICanBoogie\Core::$connections property, that return a Connections
    instance created with the activerecord_connections config.
  • A lazy getter for the ICanBoogie\Core::$db property, that return the connection named
    primary from the ICanBoogie\Core::$connections property.