From 7aa8ba4cc0359e33b2d1440a63ccad994884f185 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Fri, 12 Apr 2024 13:17:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 47 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5b242a1..4a657ba 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The central unit of execution is 'task'. The main difference from the plain old #### Hello world Here's a simple example of a task: -``` +```php true], }); ``` +### Setting a property only if it's not already set + +Use **setor** built-in function. Property will be set only if it's not set some where before. It's a convenient pattern to have a default set of properties which can be overriden by the environment properties included from an external script. + +```php + true], + function() { + setor("IOS_APP_ID", "4242jfhFD"); + }); +``` + ### Getting a property Use **get** built-in function: -``` +```php