Libraries tagged by stitch express

rrcatto/omnipay-stitch-express

0 Favers
5 Downloads

Stitch Express gateway for the Omnipay payment processing library: payment links, payments, refunds and signed payment.paid webhooks

Go to Download


schmunk42/multi-theme

5 Favers
7426 Downloads

Yii Framework Theme-Manager class, switch themes by regular expressions on controller routes.

Go to Download


xp-lang/php-switch-expression

0 Favers
6 Downloads

Switch expression for PHP

Go to Download


drupal-eca-recipe/eca_lib_0004

0 Favers
77 Downloads

Demonstrates how to express an if/elseif/else decision in an ECA model, the pattern people usually reach for when they want a PHP switch statement. ECA has neither a switch construct nor a working exclusive gateway, so the model uses the sentinel-default idiom instead: it assigns the default value up front, lets a matching branch overwrite it, and then, one hop downstream, tests whether the value is still the default in order to detect that nothing matched. Along the way it demonstrates the four-links-to-one-target OR idiom, in which several conditioned links leaving the same predecessor point at the same successor, so that any one of them is enough to run it.

Go to Download