function TestMessenger::all

Overrides MessengerInterface::all

File

tests/src/Unit/TestMessenger.php, line 55

Class

TestMessenger
Mock class to replace the messenger service in unit tests.

Namespace

Drupal\Tests\rules\Unit

Code

public function all() {
    return $this->messages;
}