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
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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