PHP 클래스 Gitamin\Http\Controllers\Controller

상속: extends Illuminate\Routing\Controller, use trait Illuminate\Foundation\Auth\Access\AuthorizesRequests, use trait Illuminate\Foundation\Auth\Access\AuthorizesResources, use trait Illuminate\Foundation\Bus\DispatchesJobs, use trait Illuminate\Foundation\Validation\ValidatesRequests
파일 보기 프로젝트 열기: gitaminhq/gitamin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$repositories

공개 메소드들

메소드 설명
__construct ( )
getPager ( $pageNumber, $totalCommits )

보호된 메소드들

메소드 설명
extractReference ( $repository, $commitishPath, $repo )
parseBranchTreeParam ( GitList\Git\Repository $repository, string $branch = '', string $tree = '' ) : array Returns an Array where the first value is the tree-ish and the second is the path.
parseCommitishPathParam ( $repository, $commitishPath, $repo ) * @brief Return $commitish, $path parsed from $commitishPath, based on what's in $repo. Raise a 404 if $branchpath does not represent a valid branch and path.

메소드 상세

__construct() 공개 메소드

public __construct ( )

extractReference() 보호된 메소드

protected extractReference ( $repository, $commitishPath, $repo )

getPager() 공개 메소드

public getPager ( $pageNumber, $totalCommits )

parseBranchTreeParam() 보호된 메소드

Returns an Array where the first value is the tree-ish and the second is the path.
protected parseBranchTreeParam ( GitList\Git\Repository $repository, string $branch = '', string $tree = '' ) : array
$repository GitList\Git\Repository
$branch string
$tree string
리턴 array

parseCommitishPathParam() 보호된 메소드

A helper for parsing routes that use commit-ish names and paths separated by /, since route regexes are not enough to get that right.
protected parseCommitishPathParam ( $repository, $commitishPath, $repo )
$commitishPath
$repo

프로퍼티 상세

$repositories 보호되어 있는 프로퍼티

protected $repositories