registerArgument('haystack', 'string', 'haystack', true); $this->registerArgument('needle', 'string', 'need', true); } protected static function evaluateCondition($arguments = null): bool { return str_contains($arguments['haystack'], $arguments['needle']); } }