<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 by command:
```sh
composer require "zenify/flash-message-component:@dev"
```

And register the extension in `config.neon`:

```yaml
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()
	{
		return $this->flashMessageControl->create();
	}<commit_msg>readme cleanup<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/):

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

And register the extension in `config.neon`:

```yaml
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()
	{
		return $this->flashMessageControl->create();
	}
{'fraction_non_alphanumeric': 0.13328776486671223, 'fraction_numerical': 0.002734107997265892, 'mean_word_length': 4.856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '279421', 'n_tokens_mistral': 482, 'n_tokens_neox': 448, 'n_words': 104}