Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Nwidart\Modules\Support\Config; use Nwidart\Modules\Traits\PathNamespace..
Decoded Output download
<?php
namespace Nwidart\Modules\Support\Config;
use Nwidart\Modules\Traits\PathNamespace;
class GeneratorPath
{
use PathNamespace;
private $path;
private $generate;
private $namespace;
public function __construct($config)
{
if (is_array($config)) {
$this->path = $config['path'];
$this->generate = $config['generate'];
$this->namespace = $config['namespace'] ?? $this->path_namespace(ltrim($config['path'], config('modules.paths.app_folder', '')));
return;
}
$this->path = $config;
$this->generate = (bool) $config;
$this->namespace = $this->path_namespace(ltrim($config, config('modules.paths.app_folder', '')));
}
public function getPath()
{
return $this->path;
}
public function generate(): bool
{
return $this->generate;
}
public function getNamespace()
{
return $this->studly_namespace($this->namespace);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Nwidart\Modules\Support\Config;
use Nwidart\Modules\Traits\PathNamespace;
class GeneratorPath
{
use PathNamespace;
private $path;
private $generate;
private $namespace;
public function __construct($config)
{
if (is_array($config)) {
$this->path = $config['path'];
$this->generate = $config['generate'];
$this->namespace = $config['namespace'] ?? $this->path_namespace(ltrim($config['path'], config('modules.paths.app_folder', '')));
return;
}
$this->path = $config;
$this->generate = (bool) $config;
$this->namespace = $this->path_namespace(ltrim($config, config('modules.paths.app_folder', '')));
}
public function getPath()
{
return $this->path;
}
public function generate(): bool
{
return $this->generate;
}
public function getNamespace()
{
return $this->studly_namespace($this->namespace);
}
}
Function Calls
None |
Stats
MD5 | cc7ae2c14556126a4853aafbd1841287 |
Eval Count | 0 |
Decode Time | 93 ms |