View Required Parameters.

@return array
186047
public function with()
    {
        $monthlyRevenue = 0;
        $orderRepository = app(OrderInterface::class);
        $lastMonth = Carbon::now()->subMonths(1);

        $orders = $orderRepository->query()
                        ->where('created_at', '>=', $lastMonth)
                        ->get();

        foreach ($orders as $order) {
            foreach ($order->products as $product) {
                $monthlyRevenue += $product->price - $product->cost_price;
            }
        }
        $currencySymbol = '$';
        //$monthlyRevenue = rand(100, 200);

        return ['monthlyRevenue' => number_format($monthlyRevenue, 2), 'currencySymbol' => $currencySymbol];
    }
875634
private function displayRequirements()
    {
        $requirements = $this->getChecker()->requirements();

        $this->frame('Application requirements');

        $this->table([
            'Status', 'Message'
        ], [
            [$requirements['status'], $requirements['message']]
        ]);
    }
144672
protected function getRequestParameters()
    {
        if ($this->request->isMethod('POST')) {
            $parameters = $this->request->request;
        } else {
            $parameters = $this->request->query;
        }

        return $parameters;
    }
998284
public function getParams()
    {
        $params              = parent::getParams();
        $params['processor'] = $this->getProcessor();
        $params['message']   = $this->getMessage();
        $params['result']    = $this->getResult();
        return $params;
    }
941808
public function queryParameters() {
		if(!$this->configured || $this->via != self::QUERY_PARAMETER)
			return array();
		
		return array($this->description->query_parameter => $this->token);
	}
426206
function getRequestParameters()
    {
        $params = $this->getRawParameters();

        $fingerprintOrder = array_merge(
            ['customerId', 'shopId', 'password', 'secret', 'language'],
            $this->fingerprintOrder
        );

        $requiredParameters = array_merge(
            ['customerId', 'requestFingerprint', 'password', 'language'],
            $this->requiredParameters
        );

        switch ($this->getParam('fundTransferType')) {
        case FundTransferType::EXISTINGORDER:
            $fingerprintOrder[] = 'sourceOrderNumber';
            $requiredParameters[] = 'sourceOrderNumber';
            break;
        case FundTransferType::MONETA:
            $fingerprintOrder[] = 'consumerWalletId';
            $requiredParameters[] = 'consumerWalletId';
            break;
        case FundTransferType::SEPA_CT:
            $fingerprintOrder[] = 'bankAccountOwner';
            $fingerprintOrder[] = 'bankBic';
            $fingerprintOrder[] = 'bankAccountIban';
            $requiredParameters[] = 'bankAccountOwner';
            $requiredParameters[] = 'bankBic';
            $requiredParameters[] = 'bankAccountIban';
            break;
        case FundTransferType::SKRILLWALLET:
            $fingerprintOrder[] = 'consumerEmail';
            $requiredParameters[] = 'consumerEmail';
            $requiredParameters[] = 'customerStatement';
            break;
        }

        $params['requestFingerprint'] = Fingerprint::fromParameters($params)
            ->setContext($this->getContext())
            ->setFingerprintOrder($fingerprintOrder);
        $this->assertParametersAreValid($params, $requiredParameters);

        return $params;
    }
1014181
public function getRequestParameters()
    {
        $aViewVariables = array();

        $aTmp = $this->GetAllInputFieldParameter();
        foreach (array_keys($aTmp) as $sTmpKey) {
            $aViewVariables[$sTmpKey] = $aTmp[$sTmpKey];
        }
        $aTmp = $this->GetUserAddressData();
        foreach (array_keys($aTmp) as $sTmpKey) {
            $aViewVariables[$sTmpKey] = $aTmp[$sTmpKey];
        }
        $aTmp = $this->GetPaymentTypeSpecifivParameter();
        foreach (array_keys($aTmp) as $sTmpKey) {
            $aViewVariables[$sTmpKey] = $aTmp[$sTmpKey];
        }

        return $aViewVariables;
    }
1215238
protected function checkParameters()
    {
        if (isset($this->parameters['searchParameterName'])) {
            $this->searchParameterName = $this->parameters['searchParameterName'];
        }

        if (isset($this->parameters['searchResultsParameterName'])) {
            $this->searchParameterName = $this->parameters['searchResultsParameterName'];
        }
    }
860010
protected function parameters()
    {
        $index = 0;
        $parameters = [
            'p' => [],
            'c' => []
        ];

        foreach ($this->properties as $name => $property) {
            if ($name !== $this->primary && false === isset($property['column'])) {
                $index++;

                $parameters['p'][$index] = $name . ' = ?';
                $parameters['c'][$index] = $name;
            }
        }

        return $parameters;
    }
620010
private function getParameters()
    {
        $routeParameters = $this->request->attributes->get('_route_params');
        $parameters = $this->request->query->all();

        if ($routeParameters) {
            $parameters = array_merge($routeParameters, $parameters);
        }

        return $parameters;
    }
422193
protected function getParams()
    {
        $params = ["key=".$this->apiKey];
        if (@count($this->options[0]) > 0 && is_array($this->options[0])) {
            foreach ($this->options[0] as $k => $v) {
                if ($k != "response_type" && $k != "apiKey") {
                    array_push($params, "$k=$v");
                }
            }
        }
        return $params;
    }
626804
public function getParams(): array
    {
        $params = [
            'openid.assoc_handle' => $this->request->get(self::OPENID_ASSOC_HANDLE),
            'openid.signed' => $this->request->get(self::OPENID_SIGNED),
            'openid.sig' => $this->request->get(self::OPENID_SIG),
            'openid.ns' => self::OPENID_NS,
            'openid.mode' => 'check_authentication',
        ];

        $signedParams = explode(',', $this->request->get(self::OPENID_SIGNED));

        foreach ($signedParams as $item) {
            $value = $this->request->get('openid_'.str_replace('.', '_', $item));
            $params['openid.'.$item] = get_magic_quotes_gpc() ? stripslashes($value) : $value;
        }

        return $params;
    }
1268050
public function toRequestParams()
    {
        $requestParams = array();
        $requestParams["name"] = $this->_name;
        $requestParams["price"] = $this->_price;
        if ($this->_id != null)
        {
            $requestParams["id"] = $this->_id;
        }

        return $requestParams;
    }
250396
protected function getOptionalParameters()
    {
        preg_match_all('/\{(\w+?)\?\}/', $this->route->uri(), $matches);

        return isset($matches[1]) ? array_fill_keys($matches[1], null) : [];
    }
551696
protected function checkRequiredParameters()
    {
        $missing = array_diff(
            $this->getRequiredOptions(),
            array_keys($this->getOptions())
        );
        if (!empty($missing)) {
            throw new InvalidArgumentException(
                sprintf(
                    'Missing required parameters: %s',
                    implode(', ', $missing)
                ),
                self::STATE_UNKNOWN
            );
        }

        return $this;
    }
1237918
protected function getParametersAliases()
    {
        return array(
            'user_id' => self::LTI_USER_ID,
            'oauth_consumer_key' => self::LTI_CONSUMER_KEY,
            'label' => OntologyRdfs::RDFS_LABEL,
            'oauth-key' => DataStore::PROPERTY_OAUTH_KEY,
            'oauth-secret' => DataStore::PROPERTY_OAUTH_SECRET,
            'oauth-callback-url' => DataStore::PROPERTY_OAUTH_CALLBACK,
        );
    }
422280
protected function getParams()
    {
        $aParams = [];

        if (null !== $this->getSize()) {
            $aParams['s'] = $this->getSize();
        }

        if (null !== $this->getDefaultImage()) {
            $aParams['d'] = $this->getDefaultImage();
        }

        if (null !== $this->getMaxRating()) {
            $aParams['r'] = $this->getMaxRating();
        }

        if ($this->forcingDefault()) {
            $aParams['f'] = 'y';
        }

        return (null !== $this->sExtension ? '.'.$this->sExtension : '')
            .(empty($aParams) ? '' : '?'.http_build_query($aParams, '', '&amp;'));
    }