Get Entity Value

@param mixed $key Entity Key
@param null $default Default If Not Value/Key Exists

@return mixed|null NULL value for a property considered __isset false
169919
function get($key, $default = null)
    {
        $key = $this->_normalizeKey($key);

        $properties = &$this->_referDataArrayReference();

        // avoid recursive trait call, may conflict on classes that
        // implement in this case has() method
        /*if (
            !array_key_exists($key, $properties)
            && $default === null
        )
            throw new \Exception(sprintf(
                'Property (%s) not found in entity.', $key
            ));*/

        return (array_key_exists($key, $properties))
            ? $properties[$key]
            : $default;
    }
793172
public static function getSessionValue($key, $default=null) {
		if(!isset($_SESSION)){
			session_start();
		}
		return (isset($_SESSION[$key]) ? $_SESSION[$key] : $default);
	}
1165466
public function get($key, $default = null)
	{
		return is_array($this->response) ? \Arr::get($this->response, $key, $default) : $default;
	}
832468
public function getValue($key, $default = null)
    {
        $meta = $this->meta;

        if (isset($meta[$key])) {
            return $meta[$key];
        }

        return $default;
    }
1114515
public function get($key, $default = null) {
        $value = $this->client->get($key);

        return !is_null($value) ? unserialize($value) : $default;
    }
872454
public function get($key, $default = null)
    {
        $values = $this->readFileContents();

        if ($this->has($key)) {
            return $values[$key][self::VALUE];
        }

        return $default;
    }
635198
public function get( $key, $default = null ) 
	{
		if ( !isset( $this->GET[$key] ) ) 
		{
			return $default;
		}
		return $this->GET[$key];
	}
864150
public function getMeta(string $key, $default = null)
    {
        if ($this->hasMeta($key)) {
            return $this->getMetaRecord($key)->getAttribute('value');
        }

        return $default;
    }
342715
public function get($key, $default = null)
    {
        return isset($_SESSION) && isset($_SESSION[$key])
            ? $_SESSION[$key]
            : $default;
    }
1044462
public function get($key, $default = null)
	{
        $value = $this->settings;
        $value = set_nested_array_value($value, $key);

        if ( ! is_null($value))
        {
            return $value;
        }

        return $default;
	}
876480
public function get($key, $default = null)
    {
        $data = DotArray::get($this->getStorage(), $key);

        return $data === null ? $default : $data;
    }
1005232
public function get($key = null, $default = null)
	{
		if ( is_null($key) )
		{
			return $this->get;
		}

		return Arr::get($this->get, $key, $default);
	}
718822
public static function get($key, $default = null)
    {
        if (is_null($key)) {
            return $default;
        }

        return (isset($_GET[$key]) ? $_GET[$key] : $default);
    }
81139
public function get( $key, $default = NULL )
    {
        if ( $this->offsetExists( $key ) )
        {
            return $this->items[ $key ];
        }

        return Util::value( $default );
    }
1308304
public function get($key, $default = null)
    {
        if (array_key_exists($key, $this->attributes)) {
            return $this->attributes[$key];
        }

        return $default;
    }
251117
public function get($key, $default = null)
    {
        $this->initSession();
        $key_name = $this->getSessionKeyName($key);

        if (isset($_SESSION[$key_name])) {
            return $_SESSION[$key_name];
        } else {
            return $default;
        }
    }
24409
public function get($key, $default = null)
  {
    $success = false;
    $value = \apcu_fetch( $key, $success );

    return ( $success ? $value : $default );
  }