public function getPublicPath(): string
    {
        if (is_null($this->publicPath)) {
            return $this->basePath.DIRECTORY_SEPARATOR.'public';
        }

        return $this->publicPath;
    }