Get source liked.

@param \simplehtmldom_1_5\simple_html_dom $source_area
@param int                                $key

@return array
324615
private function getSourceLiked($source_area, $key)
    {
        $liked = [];
        $source_area = $source_area->find('td', $key);
        $liked['id'] = $this->getSourceId($source_area);
        $liked['title'] = $this->getSourceTitle($source_area);
        $liked['type'] = $this->getType();
        $liked['image'] = $this->getSourceImage($source_area);

        return $liked;
    }
989804
public function get($key)
    {
        $key = $this->parseKey($key);

        $string = $key->shift();
        $key->next();

        $value = $this->getValue($string);

        if ($key->count() === 0) {
            return $value;
        }

        // #TODO Handle other objects and arrays
        if (! $value instanceof Accessable) {
            throw new AccessException('Could not get the value for the key "' . $key->raw . '".');
        }

        return $value->get($key);
    }
1367497
protected function getByKey($key)
    {
        return $this->propertyBag()
            ->where('resource_id', $this->resource->getKey())
            ->where('key', $key)
            ->first();
    }
725540
public function getAsArray($key)
    {
        if (! $this->has($key)) {
            return [];
        }
        $res = $this->attributes[$key];
        if (is_null($res)) {
            return [null];
        }

        return (array) $res;
    }
18059
public static function getConnectionString($key)
    {
        Validate::isString($key, 'key');

        self::_init();
        $value = null;

        foreach (self::$_sources as $source) {
            $value = call_user_func_array($source, [$key]);

            if (!empty($value)) {
                break;
            }
        }

        return $value;
    }
338644
public function offsetGet($key)
    {
        $key = "$key";
        if (array_key_exists($key, $this->data)) {
            return $this->data[$key];
        }

        return [];
    }
1202236
public static final function only(array $Source, $keys): array {
		return array_intersect_key($Source,
			array_fill_keys(self::simplify(array_slice(func_get_args(), 1)), -1));
	}
71548
protected function getArrayAttributeByKey($key)
    {
        return isset($this->attributes[$key]) ?
                    $this->fromJson($this->attributes[$key]) : [];
    }
249161
public static function get($key = false) {

        if (isset($_GET)) {

            if ($key) {

                return $_GET[$key];
            }

            return $_GET;
        }

        return false;
    }
970467
protected function determineSortableKey($key)
    {
        // We need to allow source attributes here
        if (in_array($key, $this->sortableColumns) || $this->isTranslationAttribute($key))
        {
            return $key;
        }

        return $this->getDefaultSortableKey();
    }
671988
public function get($key)
    {
        if ($this->permissions->has($key)) {
            return $this->permissions->get($key);
        }

        return $collection = Collection::make([]);
    }
1104225
public function getAttributeSource()
    {
        $return  = array();
        $sources = $this->entry->get_source();

        if ($sources !== null) {
            foreach ($sources as $source) {
                $return[] = array(
                    'name' => $this->decodeString($source->get_title()),
                    'link' => $source->get_link()
                );
            }
        }

        return $return;
    }
799253
public function get($key) {
        $key = $this->formatKey($key);
        return array_get($this->headers, $key, []);
    }
63764
public function get($key)
    {
        if (!isset($this->attributes[$key])) {
            return false;
        }

        return $this->attributes[$key];
    }
1175872
public function andLike($key, $like)
    {
        $value = sprintf('%s LIKE ?', $key);
        return $this->andAdd($value, [$like]);
    }
566319
protected function arrayGet(&$source, $key, $default = null)
    {
        if (!$key) {
            return $default;
        }

        if (array_key_exists($key, $source)) {
            return $source[$key];
        }

        $current =& $source;
        foreach (explode('.', $key) as $segment) {
            if (!array_key_exists($segment, $current)) {
                return $default;
            }
            $current =& $current[$segment];
        }

        return $current;
    }
846661
public function getSource($sourceName = null) {
		if ($sourceName === 'default') {
			$sourceName = null;
		}

		foreach ($this->sources as $key => $item) {
			if ((!$sourceName || $sourceName === $key)) {
				return $item;
			}

			$source = $item !== $this ? $item->getSource($sourceName) : null;

			if ($source) {
				return $source;
			}
		}

		if ($sourceName) {
			return null;
		}

		return $this;
	}