-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added more tests - code rework - added config - added more helper-functions
- Loading branch information
1 parent
3d30d73
commit 809ffee
Showing
9 changed files
with
732 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace Suarez\UtmParameter\Facades; | ||
|
||
use Illuminate\Support\Facades\Facade; | ||
|
||
/** | ||
* @method static \Suarez\UtmParameter\UtmParameter boot(\Illuminate\Http\Request $request) | ||
* @method static array useRequestOrSession(\Illuminate\Http\Request $request) | ||
* @method static array all() | ||
* @method static string|null get(string $key) | ||
* @method static bool has(string $key, $value = null) | ||
* @method static bool contains(string $key, string $value) | ||
* @method static bool clear() | ||
* @method static array getParameter(\Illuminate\Http\Request $request) | ||
* @method static string ensureUtmPrefix(string $key) | ||
* | ||
* @see \Suarez\UtmParameter\UtmParameter | ||
*/ | ||
class UtmParameter extends Facade | ||
{ | ||
protected static function getFacadeAccessor() | ||
{ | ||
return \Suarez\UtmParameter\UtmParameter::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.