You are here

protected function DateRecurRlHelperUnitTest::createHelper in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x tests/src/Unit/DateRecurRlHelperUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurRlHelperUnitTest::createHelper()
  2. 3.0.x tests/src/Unit/DateRecurRlHelperUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurRlHelperUnitTest::createHelper()
  3. 3.1.x tests/src/Unit/DateRecurRlHelperUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurRlHelperUnitTest::createHelper()

Creates a new helper.

Parameters

string|\DateTimeInterface|null|mixed $args: Uses same arguments as \Drupal\date_recur\DateRecurHelperInterface::createInstance.

Return value

\Drupal\date_recur\DateRecurHelperInterface A new date recur helper instance.

See also

\Drupal\date_recur\DateRecurHelperInterface::createInstance

11 calls to DateRecurRlHelperUnitTest::createHelper()
DateRecurRlHelperUnitTest::testExdate in tests/src/Unit/DateRecurRlHelperUnitTest.php
Tests single EXDATE value.
DateRecurRlHelperUnitTest::testExdateMultiple in tests/src/Unit/DateRecurRlHelperUnitTest.php
Tests multiple EXDATE values.
DateRecurRlHelperUnitTest::testExdateTimezone in tests/src/Unit/DateRecurRlHelperUnitTest.php
Tests EXDATE is ignored because of time zone differences.
DateRecurRlHelperUnitTest::testFrequency in tests/src/Unit/DateRecurRlHelperUnitTest.php
Tests frequency method of rules returned by helper.
DateRecurRlHelperUnitTest::testGetExcluded in tests/src/Unit/DateRecurRlHelperUnitTest.php
Tests list.

... See full list

File

tests/src/Unit/DateRecurRlHelperUnitTest.php, line 309

Class

DateRecurRlHelperUnitTest
Tests Rlanvin implementation of helper.

Namespace

Drupal\Tests\date_recur\Unit

Code

protected function createHelper(...$args) {
  return RlHelper::createInstance(...func_get_args());
}