-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
a834b4c
commit 1b82c60
Showing
8 changed files
with
99 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace Suarez\StatamicUtmParameters\Facades; | ||
|
||
use Illuminate\Support\Facades\Facade; | ||
|
||
/** | ||
* @method static \Suarez\StatamicUtmParameters\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\StatamicUtmParameters\UtmParameter | ||
*/ | ||
class UtmParameter extends Facade | ||
{ | ||
protected static function getFacadeAccessor() | ||
{ | ||
return \Suarez\StatamicUtmParameters\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
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
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