PHP Class Gittern\Repository

Author: Magnus Nordlander
显示文件 Open project: e-butik/gittern Class Usage Examples

Protected Properties

Property Type Description
$branch_moves
$branch_removes
$desiccators
$hydrators
$index
$index_desiccator
$index_hydrator
$transport
$unflushed_objects

Public Methods

Method Description
desiccateGitObject ( $object )
flush ( )
flushIndex ( )
getDesiccatorForType ( $type )
getHydratorForType ( $type )
getIndex ( )
getObject ( $treeish )
getObjectBySha ( $sha )
getTypeForObject ( $object )
hasObject ( $treeish )
hasTag ( $tag )
removeBranch ( $branch )
renameBranch ( $from, $to )
setBranch ( $branch, Commit $commit )
setDesiccator ( $type, $desiccator )
setHydrator ( $type, Gittern\Hydrator\HydratorInterface $hydrator )
setIndexDesiccator ( $index_desiccator )
setIndexHydrator ( $index_hydrator )
setTransport ( Gittern\Transport\TransportInterface $transport )

Protected Methods

Method Description
doDesiccation ( $object )

Method Details

desiccateGitObject() public method

public desiccateGitObject ( $object )

doDesiccation() protected method

protected doDesiccation ( $object )

flush() public method

public flush ( )

flushIndex() public method

public flushIndex ( )

getDesiccatorForType() public method

public getDesiccatorForType ( $type )

getHydratorForType() public method

public getHydratorForType ( $type )

getIndex() public method

public getIndex ( )

getObject() public method

public getObject ( $treeish )

getObjectBySha() public method

public getObjectBySha ( $sha )

getTypeForObject() public method

public getTypeForObject ( $object )

hasObject() public method

public hasObject ( $treeish )

hasTag() public method

public hasTag ( $tag )

removeBranch() public method

public removeBranch ( $branch )

renameBranch() public method

public renameBranch ( $from, $to )

setBranch() public method

public setBranch ( $branch, Commit $commit )
$commit Gittern\Entity\GitObject\Commit

setDesiccator() public method

public setDesiccator ( $type, $desiccator )

setHydrator() public method

public setHydrator ( $type, Gittern\Hydrator\HydratorInterface $hydrator )
$hydrator Gittern\Hydrator\HydratorInterface

setIndexDesiccator() public method

public setIndexDesiccator ( $index_desiccator )

setIndexHydrator() public method

public setIndexHydrator ( $index_hydrator )

setTransport() public method

public setTransport ( Gittern\Transport\TransportInterface $transport )
$transport Gittern\Transport\TransportInterface

Property Details

$branch_moves protected_oe property

protected $branch_moves

$branch_removes protected_oe property

protected $branch_removes

$desiccators protected_oe property

protected $desiccators

$hydrators protected_oe property

protected $hydrators

$index protected_oe property

protected $index

$index_desiccator protected_oe property

protected $index_desiccator

$index_hydrator protected_oe property

protected $index_hydrator

$transport protected_oe property

protected $transport

$unflushed_objects protected_oe property

protected $unflushed_objects