Returns the session item value by session item name if it exists, null otherwise.

@since 1.0.0

@param string $name The session item name.

@return mixed|null The session item value by session item name if it exists, null otherwise.
421348
public function get(string $name)
    {
        self::doInit();

        if (!isset($_SESSION[$name])) {
            return null;
        }

        return $_SESSION[$name];
    }
1012532
public function get($name)
    {
        return isset($this->items[$name]) ? $this->items[$name] : null;
    }
569044
public function get($name) {
		return isset($_SESSION[$this->prefix . $name]) ? $_SESSION[$this->prefix . $name] : false;

	}
992486
public function getByName($name)
    {
        if (!isset($this->nameMap[$name])) {
            return null;
        }

        return $this->get($this->nameMap[$name]);
    }
1031382
public static function get( $name = null ) {
		if ( is_null( $name ) ) {
			return self::$data;
		}

		if ( isset( self::$data[ $name ] ) ) {
			return self::$data[ $name ];
		}

		return null;
	}
167596
public function get($name)
    {
        if (!isset($this->values[$name])) {
            return null;
        }
        return $this->values[$name];
    }
934560
public function get($name)
    {
        if (isset($this->_loaded[$name])) {
            return $this->_loaded[$name];
        }

        return null;
    }
1132326
public function getRawValue($name)
    {
        $value = null;
        if ($this->has($name)) {
            $value = call_user_func_array(
                [$this->_inputs[$name], 'getRawValue'],
                [$name]
            );
        }
        return $value;
    }
140274
protected function getRequestValue($name) {
    $requestValues = $this->getLocalSessionValue(self::REQUEST_VAR);
    return isset($requestValues[$name]) ? $requestValues[$name] : null;
  }
319993
public function getValue($name)
    {
        if (! is_string($name)) {
            return null;
        }

        try {
            $Comet = \CometPHP\Comet::getInstance();
        } catch (\CometPHP\Exceptions\CometNotBooted $e) {
            return null;
        }

        $bits = explode('.', $name);
        $postData = $Comet['request']->request->all();

        foreach ($bits as $key) {
            if (is_array($postData) && isset($postData[$key])) {
                $postData = $postData[$key];
            } else {
                return null;
            }
        }

        return $postData;
    }
170470
public function get(string $name)
    {
        if (!isset($this->_data[$name])) {
            return null;
        }

        return $this->_data[$name];
    }
21260
protected function getValue(/*# string */ $name)
    {
        // get '${_SERVER.HTTP_HOST}' etc.
        if ('_' === $name[0]) {
            return $this->getSuperGlobalValue($name);

        // get raw value of $name
        } else {
            return $this->searchTree($name, $this->pool);
        }
    }
818747
public function getVar($name = null)
    {
        $context = $this->_context;

        if ($name === null) {
            return $context->vars;
        } else {
            return isset($context->vars[$name]) ? $context->vars[$name] : null;
        }
    }
230526
public function getPropertyValue(string $name) {
		if (isset($this->values[$name])) {
			return $this->values[$name];
		}
		return null;
	}
884228
public function get_param($name) {
        if (array_key_exists($name, $this->params)) {
            return $this->params[$name];
        } else {
            return null;
        }
    }
367742
public static function get(string $name): ?string
    {
        $data = Session::get($name, null, self::$namespace);
        if (is_array($data) && array_key_exists('token', $data)) {
            return $data['token'];
        }
        return null;
    }
1206724
public function get(string $name)
    {
        return isset($this->headers[$name]) ? $this->headers[$name] : null;
    }