@param $key

@return mixed
487889
protected function getExpectedMocksCollection($key)
    {
        if (!isset($this->expectedMocksCollections[$key])) {
            throw new \InvalidArgumentException(sprintf('The required expected mocks collection "%s" doesn\'t exist.', $key));
        }

        return $this->expectedMocksCollections[$key];
    }
996204
public function getParameter($key) {
		if (array_key_exists ( $key, $this->parameters ))
			return $this->parameters [$key];
		else
			return null;
	}
1094735
public function getValue( $key )
	{
		if( !isset( $this->_values[ $key ] ) ) {
			return null;
		}

		return $this->_values[ $key ];
	}
916828
public static function get($key)
    {
        exception_if(!array_has(self::$links, $key), LinkKeyNotFoundException::class, $key);

        return array_get(self::$links, $key);
    }
1188536
public function get(?string $key = null)
    {
        $key = $this->constructKey($key);

        if (is_null($key)) {
            $array = $this->toArray();

            return $this->count() == 1 ? end($array) : $array;
        }

        return $this->parseKey($key, function ($part, $result) {
            if (isset($result[$part])) {
                return $result[$part];
            }
        });
    }
905196
public function get($key)
    {
        $key = $this->salted($key, $this->suffix);

        $raw = $this->predis->get($key);

        // every response should be a php serialized string.
        // values not matching this pattern will explode.
        // missing data should return null, which is not unserialized.

        if (is_string($raw)) {
            return unserialize($raw);
        }

        return $raw;
    }
299706
public function queryParameter($key)
    {
        $keys = array_pluck($this->queryParameters, 'key');
        $queryParameters = array_combine($keys, $this->queryParameters);
       
        return $queryParameters[$key];
    }
732205
public function get(string $key)
    {
        $func = self::$type . '_fetch';
        return parent::debugGet($key, $func($key));
    }
971575
public function get($key)
  {
    return isset($this->attr[$key]) ? $this->attr[$key] : false;
  }
673775
public function getKey($key)
	{
		return isset($this->data[$key]) ? $this->data[$key] : null;
	}
940468
public function get($key)
    {
        $entry = $this->redis->hGet($this->cacheKey, $key);

        if ($entry) {
            $entry = unserialize($entry);

            if ($entry['expire']) {
                // Check expires
                $now = new \DateTime('now', new \DateTimeZone('UTC'));
                if ((int) $now->format('U') > $entry['expire']) {
                    $this->remove($key);

                    return null;
                }
            }

            return $entry['value'];
        }

        return null;
    }
897226
public function get($key)
    {
        $data = $this->getParsedBody();
        if (isset($data[$key])) {
            return $data[$key];
        }
    }
158746
public function get($key)
	{
		$result = null;

		if (isset($this->vars[$key]))
		{
			$result = $this->vars[$key];
		}

		return $result;
	}
376063
public function offsetGet( $key )
    {
        $key = strtolower( $key );
        if ( !array_key_exists( $key, $this->lookup ) )
        {
            return null;
        }
        return $this->map[$this->lookup[$key]];
    }
15311
public function get( $key ) {
		$key = sanitize_key( $key );

		return isset( $_SESSION[ $key ] ) ? json_decode( $_SESSION[ $key ] ) : false;
	}
1077124
public function get(string $key)
    {
        $slug = $this->splitKey($key);

        if (is_string($slug)) {
            if (isset($this[$slug])) {
                return $this[$slug];
            }
            return null;
        }

        $array = $this->toArray();

        foreach ($slug as $search) {
            if (isset($array[$search])) {
                $array = $array[$search];
            } else {
                return;
            }
        }

        return $array;
    }
1114439
public function getParamByKey($key){

         if( array_key_exists( $key, array_dot( $this->service['param'] ) ) ){

             return array_get($this->service['param'], $key);
         }
    }