ContentHubQueueItemBase.php in Acquia Content Hub 8
Namespace
Drupal\acquia_contenthub\QueueItemFile
src/QueueItem/ContentHubQueueItemBase.phpView source
<?php
namespace Drupal\acquia_contenthub\QueueItem;
/**
* Base class for the Content Hub Queue Items.
*
* @package Drupal\acquia_contenthub\QueueItem
*/
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;
}
}
Classes
Name![]() |
Description |
---|---|
ContentHubQueueItemBase | Base class for the Content Hub Queue Items. |