PHP Class seregazhuk\PinterestBot\Api\Providers\Comments

Inheritance: extends Provider
Show file Open project: seregazhuk/php-pinterest-bot Class Usage Examples

Protected Properties

Property Type Description
$loginRequiredFor array

Public Methods

Method Description
create ( integer $pinId, string $text ) : array | boolean Write a comment for a pin with current id.
delete ( string $pinId, integer $commentId ) : boolean Delete a comment for a pin with current id.

Method Details

create() public method

Write a comment for a pin with current id.
public create ( integer $pinId, string $text ) : array | boolean
$pinId integer
$text string Comment
return array | boolean

delete() public method

Delete a comment for a pin with current id.
public delete ( string $pinId, integer $commentId ) : boolean
$pinId string
$commentId integer
return boolean

Property Details

$loginRequiredFor protected property

protected array $loginRequiredFor
return array