public static function getInputs() { $rest = new REST(); if ($rest->hasCachedInputs()) { return $rest->cachedInputs(); } return $rest->getDataFromMethod(); }