You are here

protected function PorterPeclBase::setUp in Porter-Stemmer 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/PorterPeclBase.php, line 31

Class

PorterPeclBase
Base methods for all PECL stem_english() tests.

Namespace

Drupal\Tests\porterstemmer\Unit

Code

protected function setUp() : void {
  parent::setUp();
  $this->hasPeclStem = extension_loaded('stem') && function_exists('stem_english');
}