Skip to content

Commit

Permalink
Revert "Added Functions::prependAndAppend method."
Browse files Browse the repository at this point in the history
This reverts commit ee53316bf233a3bad479be6a636dec1b0970f662.
  • Loading branch information
piotrooo committed Jun 12, 2015
1 parent 34019f9 commit 685f3bb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Utilities/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,6 @@ public static function append($suffix)
};
}

public static function prependAndAppend($prefix, $suffix = null)
{
return function ($string) use ($prefix, $suffix) {
$suffix = $suffix ?: $prefix;
return $prefix . $string . $suffix;
};
}

public static function notEmpty()
{
return function ($object) {
Expand Down

0 comments on commit 685f3bb

Please sign in to comment.