public function getEXIF(string $key = null, bool $silent = false)
	{
		if (! function_exists('exif_read_data'))
		{
			if ($silent)
			{
				return null;
			}
		}

		$exif = exif_read_data($this->image->getPathname());
		if (! is_null($key) && is_array($exif))
		{
			$exif = $exif[$key] ?? false;
		}

		return $exif;
	}
public function getEXIF(string $key = null, bool $silent = false)
	{
		if (! function_exists('exif_read_data'))
		{
			if ($silent)
			{
				return null;
			}
		}

		$exif = exif_read_data($this->image->getPathname());
		if (! is_null($key) && is_array($exif))
		{
			$exif = $exif[$key] ?? false;
		}

		return $exif;
	}
public function getEXIF ( string $ key = null , bool $ silent = false ) { if ( ! function_exists ( 'exif_read_data' ) ) { if ( $ silent ) { return null ; } } $ exif = exif_read_data ( $ this -> image -> getPathname ( ) ) ; if ( ! is_null ( $ key ) && is_array ( $ exif ) ) { $ exif = $ exif [ $ key ] ?? false ; } return $ exif ; }
Retrieve the EXIF information from the image, if possible. Returns
an array of the information, or null if nothing can be found.

@param string|null $key    If specified, will only return this piece of EXIF data.

@param boolean     $silent If true, will not throw our own exceptions.

@return mixed
Retrieve the EXIF information from the image if possible . Returns an array of the information or null if nothing can be found .