PHP Class TQ\Vcs\Gaufrette\Adapter

Inheritance: implements Gaufrette\Adapter, implements Gaufrette\Adapter\StreamFactory, implements Gaufrette\Adapter\ChecksumCalculator
Afficher le fichier Open project: teqneers/php-stream-wrapper-for-git

Protected Properties

Свойство Type Description
$repository TQ\Vcs\Repository\RepositoryInterface The repository

Méthodes publiques

Méthode Description
__construct ( TQ\Vcs\Repository\RepositoryInterface $repository ) Creates a new VCS adapter to be used with a Gaufrette filesystem
checksum ( $key ) {@inheritDoc}
createStream ( $key ) {@inheritDoc}
delete ( $key ) {@inheritDoc}
exists ( $key ) {@inheritDoc}
getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface Returns the repository
isDirectory ( $key ) {@inheritDoc}
keys ( ) {@inheritDoc}
mtime ( $key ) {@inheritDoc}
read ( $key ) {@inheritDoc}
rename ( $sourceKey, $targetKey ) {@inheritDoc}
write ( $key, $content ) {@inheritDoc}

Method Details

__construct() public méthode

Creates a new VCS adapter to be used with a Gaufrette filesystem
public __construct ( TQ\Vcs\Repository\RepositoryInterface $repository )
$repository TQ\Vcs\Repository\RepositoryInterface

checksum() public méthode

{@inheritDoc}
public checksum ( $key )

createStream() public méthode

{@inheritDoc}
public createStream ( $key )

delete() public méthode

{@inheritDoc}
public delete ( $key )

exists() public méthode

{@inheritDoc}
public exists ( $key )

getRepository() public méthode

Returns the repository
public getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface
Résultat TQ\Vcs\Repository\RepositoryInterface

isDirectory() public méthode

{@inheritDoc}
public isDirectory ( $key )

keys() public méthode

{@inheritDoc}
public keys ( )

mtime() public méthode

{@inheritDoc}
public mtime ( $key )

read() public méthode

{@inheritDoc}
public read ( $key )

rename() public méthode

{@inheritDoc}
public rename ( $sourceKey, $targetKey )

write() public méthode

{@inheritDoc}
public write ( $key, $content )

Property Details

$repository protected_oe property

The repository
protected RepositoryInterface,TQ\Vcs\Repository $repository
Résultat TQ\Vcs\Repository\RepositoryInterface