From bece6896d1977cae08387ab3cb93f4e267bda851 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Fri, 1 Feb 2013 16:34:18 -0500 Subject: [PATCH] Simple example in readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9a827b7..cd85c27 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,11 @@ A simple wrapper around inconsistent php functions +Array Example: + + $sorted_array = arr($array)->sort(); + +String Example: + + $modified_string = str("string")->replace("str", "fl"); // Returns "fling" +