You are here

public function ContentHubQueueItemBase::get in Acquia Content Hub 8

Get a property on the QueueItem.

Parameters

string $property: The queue item property.

Return value

bool|mixed The property value if exists, FALSE otherwise.

Overrides ContentHubQueueItemInterface::get

File

src/QueueItem/ContentHubQueueItemBase.php, line 21

Class

ContentHubQueueItemBase
Base class for the Content Hub Queue Items.

Namespace

Drupal\acquia_contenthub\QueueItem

Code

public function get($property) {
  return isset($this->{$property}) ? $this->{$property} : FALSE;
}