16 lines
342 B
PHP
16 lines
342 B
PHP
|
<?php
|
||
|
|
||
|
namespace urlManipulator;
|
||
|
|
||
|
abstract class AbstractUrlManipulator
|
||
|
{
|
||
|
abstract public function manipulateUrl(string $url);
|
||
|
|
||
|
abstract protected function addParamToUrl(string $url, string $param, string $value);
|
||
|
|
||
|
abstract protected function generateRandomValue();
|
||
|
|
||
|
abstract protected function getNewParam(array $existingParams);
|
||
|
}
|
||
|
|