����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.142.221.103 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirm.gltechlimited.com/vendor/aws/aws-sdk-php/src/EndpointV2/Rule/ |
Upload File : |
<?php namespace Aws\EndpointV2\Rule; use Aws\EndpointV2\Ruleset\RulesetStandardLibrary; /** * A rule within a rule set. All rules contain a conditions property, * which can be empty, and documentation about the rule. */ abstract Class AbstractRule { private $conditions; private $documentation; public function __construct(array $definition) { $this->conditions = $definition['conditions']; $this->documentation = isset($definition['documentation']) ? $definition['documentation'] : null; } /** * @return array */ public function getConditions() { return $this->conditions; } /** * @return mixed */ public function getDocumentation() { return $this->documentation; } /** * Determines if all conditions for a given rule are met. * * @return boolean */ protected function evaluateConditions( array &$inputParameters, RulesetStandardLibrary $standardLibrary ) { foreach($this->getConditions() as $condition) { $result = $standardLibrary->callFunction($condition, $inputParameters); if (is_null($result) || $result === false) { return false; } } return true; } abstract public function evaluate( array $inputParameters, RulesetStandardLibrary $standardLibrary ); }