PHP 트레잇 Psr7Middlewares\Utils\BasePathTrait

파일 보기 프로젝트 열기: oscarotero/psr7-middlewares

공개 메소드들

메소드 설명
basePath ( string $basePath ) : self Set the basepath used in the request.

비공개 메소드들

메소드 설명
getPath ( string $path ) : string Removes the basepath from a path.

메소드 상세

basePath() 공개 메소드

Set the basepath used in the request.
public basePath ( string $basePath ) : self
$basePath string
리턴 self