minor cleaning up
This commit is contained in:
parent
90ca3d64eb
commit
3089ed432c
3 changed files with 0 additions and 20 deletions
|
@ -1,17 +0,0 @@
|
||||||
<?php
|
|
||||||
// generate random params like ["param1", "param2", "param3"] with random values
|
|
||||||
$params = [
|
|
||||||
"cl1",
|
|
||||||
"cl2",
|
|
||||||
"Kiran",
|
|
||||||
"Kir2n",
|
|
||||||
"stam",
|
|
||||||
"stam2",
|
|
||||||
"stam3",
|
|
||||||
"stam4",
|
|
||||||
"stam5",
|
|
||||||
"stam6",
|
|
||||||
"stam7",
|
|
||||||
]
|
|
||||||
|
|
||||||
?>
|
|
|
@ -5,11 +5,8 @@ namespace urlManipulator;
|
||||||
abstract class AbstractUrlManipulator
|
abstract class AbstractUrlManipulator
|
||||||
{
|
{
|
||||||
abstract public function manipulateUrl(string $url);
|
abstract public function manipulateUrl(string $url);
|
||||||
|
|
||||||
abstract protected function addParamToUrl(string $url, string $param, string $value);
|
abstract protected function addParamToUrl(string $url, string $param, string $value);
|
||||||
|
|
||||||
abstract protected function generateRandomValue();
|
abstract protected function generateRandomValue();
|
||||||
|
|
||||||
abstract protected function getNewParam(array $existingParams);
|
abstract protected function getNewParam(array $existingParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue