<commit_before># Zenify/FlashMessageComponent


## Requirements

This package requires PHP 5.4.

- [nette/nette](https://github.com/nette/nette/)


## Installation

The best way to install this package is using [Composer](http://getcomposer.org/).
Add to your `composer.json`:

```js
"require": {
	"zenify/flash-message-component": "@dev"
}
```

Run `composer update`.

And register the extension in `config.neon`:

```neon
extensions:
	- Zenify\Components\FlasMessageComponent\DI\Extension
```

## Use

Inject to presenter

```php
class Presenter ... {

	/** @inject @var Zenify\Components\FlasMessageComponent\UI\IControl */
	public $flashMessageControl;


	public function createComponentFlashMessageControl()<commit_msg>readme updated<commit_after># Zenify/FlashMessageComponent


## Requirements

This package requires PHP 5.4.

- [nette/nette](https://github.com/nette/nette/)


## Installation

The best way to install this package is using [Composer](http://getcomposer.org/).

Add by command:
```sh
composer require "zenify/flash-message-component:@dev"
```

And register the extension in `config.neon`:

```neon
extensions:
	- Zenify\Components\FlasMessageComponent\DI\Extension
```


## Use

Inject to presenter

```php
class Presenter ... {

	/** @inject @var Zenify\Components\FlasMessageComponent\UI\IControl */
	public $flashMessageControl;


	public function createComponentFlashMessageControl()
{'fraction_non_alphanumeric': 0.1339475549255847, 'fraction_numerical': 0.002834868887313962, 'mean_word_length': 4.810699588477366, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2693804', 'n_tokens_mistral': 469, 'n_tokens_neox': 438, 'n_words': 106}