PHP Class TQ\Vcs\Gaufrette\Adapter

Inheritance: implements Gaufrette\Adapter, implements Gaufrette\Adapter\StreamFactory, implements Gaufrette\Adapter\ChecksumCalculator
Mostrar archivo Open project: teqneers/php-stream-wrapper-for-git

Protected Properties

Property Type Description
$repository TQ\Vcs\Repository\RepositoryInterface The repository

Public Methods

Method 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 method

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 method

{@inheritDoc}
public checksum ( $key )

createStream() public method

{@inheritDoc}
public createStream ( $key )

delete() public method

{@inheritDoc}
public delete ( $key )

exists() public method

{@inheritDoc}
public exists ( $key )

getRepository() public method

Returns the repository
public getRepository ( ) : TQ\Vcs\Repository\RepositoryInterface
return TQ\Vcs\Repository\RepositoryInterface

isDirectory() public method

{@inheritDoc}
public isDirectory ( $key )

keys() public method

{@inheritDoc}
public keys ( )

mtime() public method

{@inheritDoc}
public mtime ( $key )

read() public method

{@inheritDoc}
public read ( $key )

rename() public method

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

write() public method

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

Property Details

$repository protected_oe property

The repository
protected RepositoryInterface,TQ\Vcs\Repository $repository
return TQ\Vcs\Repository\RepositoryInterface