Skip to content

Releases: jeyroik/extas-base

2.11.0

24 Aug 11:39
648e742
Compare
Choose a tag to compare
  • See changelog for details.

2.10.0

23 Mar 08:17
8143a97
Compare
Choose a tag to compare
  • See changelog for details.

2.9.0

30 Sep 11:27
8279ae5
Compare
Choose a tag to compare
  • See changelog for details.

2.8.0

24 Jun 14:43
0156c4f
Compare
Choose a tag to compare
  • Added getting class by magic.

2.7.0

05 Jun 11:35
9e3c4bd
Compare
Choose a tag to compare

Added has tags

Provide methods:

  • getTags(); array
  • hasTag(string $tag): bool
  • addTag(string $tag): $this
  • addTags(array $tags): $this
  • setTags(array $tags): $this
  • removeTag(string $tag): $this

2.6.0

01 Jun 12:30
f8639a0
Compare
Choose a tag to compare

Added runWithParameters()

$item = new class () {
        use THasClass;
        protected array $config = [IHasClass::FIELD__CLASS => PluginEmpty::class];
};

$item->runWithParameters(['some' => 'thing'], '__invoke', 'test', 'test1');
/*
 * Equal to
 * $dispatcher = $item->buildClassWithParameters(['some' => 'thing']);
 * $dispatcher('test', 'test1');
 */

2.5.0

15 May 09:21
e06009d
Compare
Choose a tag to compare
Merge pull request #1 from jeyroik/development

Added IDispatcherWrapper

2.4.0

24 Apr 12:33
Compare
Choose a tag to compare
  • Added IHasPriority.

2.3.0

17 Apr 12:41
Compare
Choose a tag to compare
  • Added IHasState

2.2.0

09 Apr 15:35
Compare
Choose a tag to compare
added is applicable array