BookManagerTest::$entityRepository

Same name in other branches
  1. 9 core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::entityRepository
  2. 10 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 37

Class

BookManagerTest
@coversDefaultClass \Drupal\book\BookManager @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.