BookManagerTest::$entityRepository

Same name and namespace in other branches
  1. 10 core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::entityRepository
  2. 11.x core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::entityRepository

The mocked entity repository.

Type: \Drupal\Core\Entity\EntityRepositoryInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/book/tests/src/Unit/BookManagerTest.php, line 35

Class

BookManagerTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21book%21src%21BookManager.php/class/BookManager/9" title="Defines a book manager." class="local">\Drupal\book\BookManager</a> @group book

Namespace

Drupal\Tests\book\Unit

Code

protected $entityRepository;

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