Skip to content

v1.3.0

Choose a tag to compare

@HamedDarragi HamedDarragi released this 18 Dec 13:38
· 22 commits to master since this release

Features

  • New method Module::isInstalled() to check whether the current Module installed or not
  • New method Module::getEventSubscribers() that can be implemented within the package to return the list of Event Subscribers classes. returned classes should implement \Symfony\Component\EventDispatcher\EventSubscriberInterface
  • New methods Module::getConfig() and Module::getFileConfig() that extends equivalent originated ones by package controller. These extensions allows to get config value by passing config $key to the method
  • New method Installer::overrideBlocks to override blocks by package
  • New method Installer::assignBlocksToCore to restore overridden core blocks
  • New method Installer::installPageAttributeSet()
  • Installer::installAttributeSet(): The array argument $associatedAttrs now can support Attribute Key objects in addition to handles

Improvements

  • Replace Concrete5 camelcase() method usage with \Illuminate\Support\Str::studly() as it's more efficient and faster
  • Improvements made on Module::boot()
  • Improve package methods calls performance through Module class by caching package controller instance.