QueueFactoryInterface.php

Same filename and directory in other branches
  1. 10 core/lib/Drupal/Core/Queue/QueueFactoryInterface.php

Namespace

Drupal\Core\Queue

File

core/lib/Drupal/Core/Queue/QueueFactoryInterface.php

View source
<?php

namespace Drupal\Core\Queue;


/**
 * An interface defining queue factory classes.
 */
interface QueueFactoryInterface {
  
  /**
   * Constructs a new queue object for a given name.
   *
   * @param string $name
   *   The name of the queue.
   *
   * @return \Drupal\Core\Queue\QueueInterface
   *   The queue object.
   */
  public function get($name);

}

Interfaces

Title Deprecated Summary
QueueFactoryInterface An interface defining queue factory classes.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.