QueueFactoryInterface.php

Same filename in other branches
  1. 11.x 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.