From a81233bc8d999ee599c932408174fbdb01b7c403 Mon Sep 17 00:00:00 2001 From: mahdi khanzadi Date: Mon, 14 Oct 2019 13:37:09 +0330 Subject: [PATCH] access using helper function --- composer.json | 5 ++++- src/helpers.php | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/helpers.php diff --git a/composer.json b/composer.json index af48498..3d3cef2 100755 --- a/composer.json +++ b/composer.json @@ -33,7 +33,10 @@ "autoload": { "psr-4": { "Shetabit\\Visitor\\": "src" - } + }, + "files": [ + "src/helpers.php" + ] }, "autoload-dev": { "psr-4": { diff --git a/src/helpers.php b/src/helpers.php new file mode 100644 index 0000000..764fbbe --- /dev/null +++ b/src/helpers.php @@ -0,0 +1,12 @@ +