PHP Class Gittern\Gaufrette\GitternCommitishReadOnlyAdapter

Author: Magnus Nordlander
Inheritance: implements Gaufrette\Adapter, implements Gaufrette\Adapter\ChecksumCalculator
Mostra file Open project: e-butik/gittern Class Usage Examples

Protected Properties

Property Type Description
$commit
$repo
$tree

Public Methods

Method Description
__construct ( Repository $repo, $commitish )
checksum ( $key )
delete ( $key )
exists ( $key )
isDirectory ( $key )
keys ( )
listDirectory ( $directory = '' )
mtime ( $key )
read ( $key )
rename ( $key, $new )
supportsMetadata ( )
write ( $key, $content, array $metadata = null )

Protected Methods

Method Description
getGitObjectForKey ( $key )

Method Details

__construct() public method

public __construct ( Repository $repo, $commitish )
$repo Gittern\Repository

checksum() public method

public checksum ( $key )

delete() public method

public delete ( $key )

exists() public method

public exists ( $key )

getGitObjectForKey() protected method

protected getGitObjectForKey ( $key )

isDirectory() public method

public isDirectory ( $key )

keys() public method

public keys ( )

listDirectory() public method

public listDirectory ( $directory = '' )

mtime() public method

public mtime ( $key )

read() public method

public read ( $key )

rename() public method

public rename ( $key, $new )

supportsMetadata() public method

public supportsMetadata ( )

write() public method

public write ( $key, $content, array $metadata = null )
$metadata array

Property Details

$commit protected_oe property

protected $commit

$repo protected_oe property

protected $repo

$tree protected_oe property

protected $tree