<?php basename(string $path, string $suffix = ""): string
<?php } return str_replace( [DIRECTORY_SEPARATOR, basename($this->laravel->path()) . '\\'], ['\\', $this->laravel->getNamespace()], basename($this->laravel->path()) . $dir . DIRECTORY_SEPARATOR . $name );
<?php return str_replace( [DIRECTORY_SEPARATOR, basename($this->laravel->path()) . '\\'], ['\\', $this->laravel->getNamespace()], basename($this->laravel->path()) . $dir . DIRECTORY_SEPARATOR . $name ); }); }