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

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

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

@return string
Get the public web directory path .