Get the item

@param  int | string $key
@return Model | null
517549
public function getItem($key) {
		if (is_array($key)) {
			$key = $this->arrayHashFunction($key);
		}
		
		if (isset($this->_models[$key])) {
			return $this->_models[$key];
		}
		
		if (isset($this->_data[$key])) {
			$modelClass = $this->getModel();
			
			$item = $modelClass::factory($this->_data[$key]);
			$item->setCollection($this);
			
			if ($this->hasDatagate()) {
				$item->setDatagate($this->getDatagate());
			}
			
			if ($this->hasLocator()) {
				$item->setLocator($this->getLocator());
			}
			
			$this->_models[$key] = $item;
			
			return $item;
		}
	}
285660
public function get($key)
	{
		if (!$this->exists($key))
		{
			throw $this->getNotExistException($key);
		}

		$key = $this->normalizeKey($key);

		return $this->items[$key];
	}
966020
public function get($key)
    {
        if (!$this->isEnabled()) {
            return null;
        }

        return unserialize(eaccelerator_get($this->prefix() . $key));
    }
1346148
public function getItem($key): CacheItem
    {
        if (isset($this->data[$key])) {
            return $this->data[$key];
        }

        $cacheItem = new CacheItem($key);

        if ($this->has($key)) {
            $cacheItem->set($this->get($key));
        }

        $this->data[$key] = $cacheItem;

        return $cacheItem;
    }
215345
public function findItemByKey(string $key)
    {
        return $this->items->first(function (BaseItem $item, $index) use ($key) {
            return $item->getKey() == $key;
        });
    }
852966
public function &__get( $key ) 
	{
		$value = null;

		// check if the modifier exists
		$has_modifier = method_exists( $this, '_get_modifier_'.$key );

		// try getting the item
		if ( array_key_exists( $key, $this->_data_store ) ) 
		{
			$value =& $this->_data_store[$key];

			if ( $has_modifier )
			{
				$tmpvalue = $this->{'_get_modifier_'.$key}( $value ); return $tmpvalue;
			}

			return $value;
		}

		if ( $has_modifier )
		{
			$value = $this->{'_get_modifier_'.$key}(); return $value;
		}

		// when a function extists we forward the call
		if ( method_exists( $this, $key ) )
		{
			$value = $this->__call_property( $key ); return $value;
		}

		throw new \InvalidArgumentException( "CCModel - Invalid or undefined model property '".$key."'." );
	}
581750
public function get($key)
	{
		$item = new Item($key);

		if (isset(self::$store[$key]))
		{
			$item->setValue(self::$store[$key]);
		}

		return $item;
	}
762040
public function get(string $key)
    {
        return isset($this->loggers[$key]) ? $this->loggers[$key] : null;
    }
221173
public function get($key)
    {
        if (!$this->isEnabled()) {
            return null;
        }

        if (xcache_isset($this->prefix() . $key)) {
            return unserialize(xcache_get($this->prefix() . $key));
        } else {
            return null;
        }
    }
358769
public function getObject($key)
    {
        try {
            $result = $this->get(self::OBJECT, $key);
            if (!settype($result, 'object')) {
                return null;
            }
        } catch (\Exception $e) {
            return null;
        }
        return $result;
    }
1136506
public function get($key)
    {
        $response = $this->dynamo->getItem([
            'TableName' => $this->table,
            'ConsistentRead' => false,
            'Key' => [
                $this->keyAttribute => [
                    'S' => $this->prefix.$key,
                ],
            ],
        ]);

        if (! isset($response['Item'])) {
            return;
        }

        if ($this->isExpired($response['Item'])) {
            return;
        }

        if (isset($response['Item'][$this->valueAttribute])) {
            return $this->unserialize(
                $response['Item'][$this->valueAttribute]['S'] ??
                $response['Item'][$this->valueAttribute]['N'] ??
                null
            );
        }
    }
758035
public function get($key)
    {
        if (! $this->has($key)) {
            return null;
        }
        
        return $this->items[$this->normalizeKey($key)];
    }
190290
public function get($key)
    {
        $items = Arr::get($this->items, $key);

        return $this->firstOrAll($items);
    }
948351
public function get($key)
    {
        $value = $this->connection()->get($this->prefix.$key);

        return ! is_null($value) ? $this->unserialize($value) : null;
    }
321980
public function &offsetGet($key)
    {
        if(!$this->has($key))
            return null;

        return DotArray::getReference($this->storage, $key);
    }
22011
public function item($key)
	{
		if ( ! isset($this->info['items'][$key]))
		{
			return null;
		}

		return $this->info['items'][$key];
	}
1194862
public function get($key)
    {
        if( isset($this->values[$key]) ) {
            return $this->values[$key];
        } else {
            return null;
        }
    }