MailHandlerTest::$logger

Same name and namespace in other branches
  1. 9 core/modules/contact/tests/src/Unit/MailHandlerTest.php \Drupal\Tests\contact\Unit\MailHandlerTest::logger
  2. 10 core/modules/contact/tests/src/Unit/MailHandlerTest.php \Drupal\Tests\contact\Unit\MailHandlerTest::logger
  3. 11.x core/modules/contact/tests/src/Unit/MailHandlerTest.php \Drupal\Tests\contact\Unit\MailHandlerTest::logger

Logger service.

Type: \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/contact/tests/src/Unit/MailHandlerTest.php, line 31

Class

MailHandlerTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21contact%21src%21MailHandler.php/class/MailHandler/8.9.x" title="Provides a class for handling assembly and dispatch of contact mail messages." class="local">\Drupal\contact\MailHandler</a> @group contact

Namespace

Drupal\Tests\contact\Unit

Code

protected $logger;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.