Returns the meta data value for the given key

@access public
@param string $key
@return mixed
330830
public function getMetaData($key)
    {
        if (!isset($this->metaData[$key])) {
            return false;
        }
        
        return $this->metaData[$key];
    }
406934
public function get(string $key): string
    {
        if (!isset($this->data[$key])) {
            $this->data[$key] = $key;
        }

        return $this->data[$key];
    }
11154
protected function getValue($key)
    {
        if (isset($key[0]) && $key[0] === self::CONST_PREFIX) {
            // If string starts with "=" symbol
            // then cut it and return plain string.
            return substr($key, 1);
        }

        // Get value using a dot notation
        $data = $this->object;
        foreach (explode('.', $key) as $step) {
            if (is_array($data)) {
                $data = $data[$step];
            } else {
                $data = $data->$step;
            }
        }

        return (string)$data;
    }
147562
public function getMetadata($key)
    {
        if (!is_array($this->metadata)) {
            $this->metadata = json_decode(json_encode($this->metadata), true);
        }
        return (isset($this->metadata[$key])) ? $this->metadata[$key] : null;
    }
1291686
public function metadata($key = null) {
		if (extension_loaded("Phar")) {
			$running = new Phar(Phar::running(false));
		} else {
			$running = new Archive(PHAREXT_PHAR);
		}

		if ($key === "signature") {
			$sig = $running->getSignature();
			return sprintf("%s signature of %s\n%s", 
				$sig["hash_type"],
				$this->metadata("name"),
				chunk_split($sig["hash"], 64, "\n"));
		}

		$metadata = $running->getMetadata();
		if (isset($key)) {
			return $metadata[$key];
		}
		return $metadata;
	}
737554
public function read($key)
    {
        $this->_cachedData or $this->_cachedData = Cache::get('model-metadata');
        return isset($this->_cachedData[$key]) ? $this->_cachedData[$key] : null;
    }
953147
public function getData( $key = NULL ){
		if( is_null( $key ) )
			return $this->data ;
		if( !array_key_exists( $key, $this->data ) )
			return NULL;
		return $this->data[$key];
	}
1069236
private function getValue ($key)
    {
        return isset($this->configuration[$key])
            ? $this->configuration[$key]
            : null;
    }
832074
public function metaData($key = null)
    {
        if (!$this->resource) {
            return null;
        }

        if (!$meta = stream_get_meta_data($this->resource)) {
            return null;
        }

        if (!$key) {
            return $meta;
        }

        return isset($meta[$key]) ? $meta[$key] : null;
    }
753058
public function getMeta($key = null)
    {
        $meta = '';
        $body = json_decode($this->body, true);

        if (!empty($body) && isset($body['meta'])) {
            if (!empty($key) && isset($body['meta'][$key])) {
                $meta = $body['meta'][$key];
            } else {
                $meta = $body['meta'];
            }
        }

        return $meta;
    }
796032
public function getMetadata($key = null)
    {
        if (is_null($this->metadataCache))
        {
            $this->metadataCache = json_decode($this->metadata, true);
        }

        if (is_null($key))
        {
            return $this->metadataCache;
        }

        if (isset($this->metadataCache[$key]))
        {
            return $this->metadataCache[$key];
        }

        return null;
    }
349652
function getMeta($metaKey = null)
    {
        if ($metaKey !== null)
            return (isset($this->meta[$metaKey])) ? $this->meta[$metaKey] : null;

        return $this->meta;
    }
881542
public function getMetaData(string $key, $default = null)
    {
        $meta = $this->getAttribute('meta');

        return $meta->get($key, $default);
    }
1006253
public function get($key)
    {
        $key = is_array($key) ? $key : [$key];
        $config = $this->data;
        while ($key) {
            $k = array_shift($key);
            $config = isset($config[$k]) ? $config[$k] : [];
        }
        return $config;
    }
239667
public function getMetadata($key = null)
	{
		if (! \is_resource($this->resource))
		{
			return null;
		}

		$metadata = \stream_get_meta_data($this->resource);

		if (! (null === $key))
		{
			return $metadata[$key] ?? null;
		}

		return $metadata;
	}
215275
protected function getMetadataByName(array $object, $key)
    {
        $method = 'get' . \ucfirst($key);

        if (!\method_exists($this, $method)) {
            throw new \InvalidArgumentException('Could not get meta-data for key: ' . $key);
        }

        $object[$key] = $this->{$method}($object['path']);

        return $object;
    }
966554
function getMetaKey($key, $default = null)
    {
        $this->assertMetaData();

        if (isset($this->_metaData[$key]))
            return $this->_metaData[$key];

        return $default;
    }