lib/Doctrine/CouchDB/Attachment.php
public static function createStub($contentType, $length, $revPos, Client $httpClient, $path)
    {
        return new self(null, null, $contentType, $length, $revPos, $httpClient, $path);
    }
public static function createStub($contentType, $length, $revPos, Client $httpClient, $path)
    {
        return new self(null, null, $contentType, $length, $revPos, $httpClient, $path);
    }
public static function createStub ( $ contentType , $ length , $ revPos , Client $ httpClient , $ path ) { return new self ( null , null , $ contentType , $ length , $ revPos , $ httpClient , $ path ) ; }
Create a stub attachment that has lazy loading capabilities.

@param string $contentType
@param int    $length
@param int    $revPos
@param Client $httpClient
@param string $path

@return Attachment
Create a stub attachment that has lazy loading capabilities .