PHP Class Gittern\Gaufrette\GitternCommitishReadOnlyAdapter

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

Protected Properties

Свойство Type Description
$commit
$repo
$tree

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
getGitObjectForKey ( $key )

Method Details

__construct() public méthode

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

checksum() public méthode

public checksum ( $key )

delete() public méthode

public delete ( $key )

exists() public méthode

public exists ( $key )

getGitObjectForKey() protected méthode

protected getGitObjectForKey ( $key )

isDirectory() public méthode

public isDirectory ( $key )

keys() public méthode

public keys ( )

listDirectory() public méthode

public listDirectory ( $directory = '' )

mtime() public méthode

public mtime ( $key )

read() public méthode

public read ( $key )

rename() public méthode

public rename ( $key, $new )

supportsMetadata() public méthode

public supportsMetadata ( )

write() public méthode

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