protected function DateRecurRlHelperUnitTest::createHelper in Recurring Dates Field 3.x
Same name and namespace in other branches
- 8.2 tests/src/Unit/DateRecurRlHelperUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurRlHelperUnitTest::createHelper()
- 3.0.x tests/src/Unit/DateRecurRlHelperUnitTest.php \Drupal\Tests\date_recur\Unit\DateRecurRlHelperUnitTest::createHelper()
- 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.
File
- tests/
src/ Unit/ DateRecurRlHelperUnitTest.php, line 311
Class
- DateRecurRlHelperUnitTest
- Tests Rlanvin implementation of helper.
Namespace
Drupal\Tests\date_recur\UnitCode
protected function createHelper(...$args) {
return RlHelper::createInstance(...func_get_args());
}