PHP Trait seregazhuk\PinterestBot\Api\Traits\UploadsImages

Inheritance: use trait HandlesRequest
Show file Open project: seregazhuk/php-pinterest-bot

Public Methods

Method Description
upload ( string $image ) : string | null

Protected Methods

Method Description
processResult ( string $res ) : Response

Method Details

processResult() abstract protected method

abstract protected processResult ( string $res ) : Response
$res string
return seregazhuk\PinterestBot\Api\Response

upload() public method

public upload ( string $image ) : string | null
$image string
return string | null