Get the queueable identity for the entity.

@return mixed
326319
public function getQueueableId()
    {
        if (isset($this->attributes[$this->getKeyName()])) {
            return $this->getKey();
        }

        return sprintf(
            '%s:%s:%s:%s:%s:%s',
            $this->foreignKey, $this->getAttribute($this->foreignKey),
            $this->relatedKey, $this->getAttribute($this->relatedKey),
            $this->morphType, $this->morphClass
        );
    }
280923
protected function prepareQueueableEntities($data)
	{
		if ($data instanceof QueueableEntity)
		{
			return $this->prepareQueueableEntity($data);
		}

		if (is_array($data))
		{
			array_walk($data, function(&$d) { $d = $this->prepareQueueableEntity($d); });
		}

		return $data;
	}
765994
public function getIdentifier()
    {
        $identifier = $this->getFromNode()->getIdentifier() 
                    . '-'
                    . $this->getType()
                    . '-'
                    . $this->getToNode()->getIdentifier();
        
        return $identifier;
    }
42338
protected function getId()
    {
        if ($key = $this->manager->config('model_primary_key')) {
            return $this->manager->getInstance()->{$key};
        }

        return $this->manager->getInstance()->getKey();
    }
739124
public function getQueueableClass()
	{
		if ( $this->count() === 0 )
		{
			return null;
		}

		$class = get_class( $this->first() );

		$this->each( function ( $model ) use ( $class )
		{
			if ( get_class( $model ) !== $class )
			{
				throw new LogicException( 'Queueing collections with multiple model types is not supported.' );
			}
		} );

		return $class;
	}
197874
public function queue()
    {
        if (is_null($this->queue)) {
            $this->queue = app(Queue::class);
        }

        return $this->queue;
    }
1208705
public function getEntity()
    {
        if (!($this->_entity instanceof Entity)) {
            $class = $this->_entity;
            $this->setEntity(new $class());
        }
        return $this->_entity;
    }
335441
public function dequeuePlain()
    {
        $document = $this->collection
            ->find()
            ->sort(array(
                'priority' => -1,
                'datetime' => 1,
            ))
            ->findAndRemove();
        
        if (!$document) {
            return null;
        }
        
        return $document->get('payload');
    }
470561
public function get()
	{
		$key = $this->getKey();
		$queued = $this->jar->getQueuedCookies();

		if (isset($queued[$key]))
		{
			return $queued[$key];
		}

		if ($this->strategy === 'request')
		{
			return $this->request->cookie($key);
		}
		else
		{
			return $this->jar->get($key);
		}
	}
217294
public function getIdentityColumn()
    {
        $result = null;
        if (isset($this->_identity_column)) {
            $result = $this->_identity_column;
        }

        return $result;
    }
887936
protected function getQueueNameListForMonitor(){

        $queueNameListInRedis = $this->redisClientForQueue->keys('queues:*');

        $excludeQueueNameList = Config::get('queue_monitor')['excludeQueues'];
        $excludeFullQueueNameList = [];

        if (!empty($excludeQueueNameList)) {
            foreach ($excludeQueueNameList as $excludeQueueName){
                $excludeFullQueueNameList[] = 'queues:'.$excludeQueueName;
                $excludeFullQueueNameList[] = 'queues:'.$excludeQueueName.':delayed';
                $excludeFullQueueNameList[] = 'queues:'.$excludeQueueName.':reserved';
            }
        }

        return  array_diff($queueNameListInRedis , $excludeFullQueueNameList);
    }
17867
public function getEntityIdAttribute()
    {
        if ($this->attributes['data'] == '' || $this->attributes['type'] != 'entity')
            return null;

        $data = unserialize($this->attributes['data']);

        if (!isset($data['entity_type']))
            return null;
        else {
            $entity_type = explode(':', $data['entity_type']);

            return isset($entity_type[1]) ? $entity_type[1] : null;
        }
    }
1136104
public function getIdentifier()
    {
        $this->preGetIdentifier();
        $result = $this->dataStore->getIdentifier();

        return $this->postGetIdentifier($result);
    }
562644
public function getCurrentType()
    {
        if (null !== $index = $this->getCurrencyIndex()) {
            return $index->getType();
        }

        $types = $this->repository->listIndexableEntityTypes();
        $type = array_shift($types);

        return $type;
    }
839021
public function getUserIdentifier() {
        if (!isset($this->userIdentifier)) {
            $user = $this->getData(OntologyDeliveryExecution::PROPERTY_SUBJECT);
            $this->userIdentifier =  ($user instanceof core_kernel_classes_Resource) ? $user->getUri() : (string)$user;
        }
        return $this->userIdentifier;
    }
1011401
function identity()
    {
        if (!$this->identity)
            $this->identity = new BaseIdentity(get_class($this));

        return $this->identity;
    }
715589
public function getNextId()
    {
        try {
            return $this->innerGateway->getNextId();
        } catch (DBALException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        }
    }