reviewer-1.2.x-dev/src/Reviewer/Checklist/ChecklistFactoryInterface.php

src/Reviewer/Checklist/ChecklistFactoryInterface.php
<?php

namespace Drupal\reviewer\Reviewer\Checklist;

/**
 * Defines a factory which creates checklists.
 */
interface ChecklistFactoryInterface {

  /**
   * Create a checklist.
   *
   * @param class-string<\Drupal\reviewer\Reviewer\Checklist\ChecklistInterface> $class
   *
   * @throws \InvalidArgumentException
   *   Thrown if the class string is not an instance of
   *   \Drupal\reviewer\Reviewer\Checklist\ChecklistInterface.
   */
  public function create(string $class): ChecklistInterface;

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc