pathyi:一个简单的路径格式化程序 源码
柯依的PATHYI 一个简单的路径格式化程序。 安装 composer require kiryi/pathyi 用法 $ pathyi = new \ Kiryi \ Pathyi \ Formatter (); $ path = $ pathyi -> format ( $ path ); 方法定义格式 format (string $ path , bool $ leadingSlash = false , bool $ trailingSlash = false ): string 参数 小路格式的路径。 如果仅出现反斜杠,则将返回带有前导/尾随反斜杠的路径。 如果不是,则使用正斜杠
下载地址
用户评论