You are here

abstract class ContentHubQueueItemBase in Acquia Content Hub 8

Base class for the Content Hub Queue Items.

@package Drupal\acquia_contenthub\QueueItem

Hierarchy

Expanded class hierarchy of ContentHubQueueItemBase

File

src/QueueItem/ContentHubQueueItemBase.php, line 10

Namespace

Drupal\acquia_contenthub\QueueItem
View source
abstract class ContentHubQueueItemBase implements ContentHubQueueItemInterface {

  /**
   * Get a property on the QueueItem.
   *
   * @param string $property
   *   The queue item property.
   *
   * @return bool|mixed
   *   The property value if exists, FALSE otherwise.
   */
  public function get($property) {
    return isset($this->{$property}) ? $this->{$property} : FALSE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ContentHubQueueItemBase::get public function Get a property on the QueueItem. Overrides ContentHubQueueItemInterface::get