getBlob() публичный Метод

Instanciates a blob object or fetches one from the cache.
public getBlob ( string $hash ) : Gitonomy\Git\Blob
$hash string A blob hash, with a length of 40
Результат Gitonomy\Git\Blob
Пример #1
0
 public function getNewBlob()
 {
     if (null === $this->repository) {
         throw new \RuntimeException('Repository is missing to return Blob object.');
     }
     if ($this->isDeletion()) {
         throw new \LogicException('Can\'t return new Blob on a deletion');
     }
     return $this->repository->getBlob($this->newIndex);
 }