public function __construct($args = null)
{
$this->args = is_array($args) ? $args : func_get_args();
$this->assetsPrefix = function () {
return config('larasset.prefix', '/assets');
};
$this->assetsHost = function () {
return config('larasset.host');
};
$this->assetPort = function () {
return getenv('LARASSET_PORT') ?: config('larasset.port', 3000);
};
}