Gittern\Entity\IndexEntry::setBlob PHP Method

setBlob() public method

public setBlob ( Blob $blob )
$blob Gittern\Entity\GitObject\Blob
    public function setBlob(Blob $blob)
    {
        $this->blob = $blob;
    }

Usage Example

Example #1
0
 public static function createFromBlobNode(BlobNode $node)
 {
     $entry = new IndexEntry();
     $entry->setBlob($node->getBlob());
     $entry->setMode($node->getIntegerMode());
     return $entry;
 }
All Usage Examples Of Gittern\Entity\IndexEntry::setBlob