PHP Trait seregazhuk\PinterestBot\Api\Traits\CanBeDeleted

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

Public Methods

Method Description
delete ( integer $entityId ) : boolean Delete entity by ID.

Protected Methods

Method Description
getDeleteUrl ( ) : string

Method Details

delete() public method

Delete entity by ID.
public delete ( integer $entityId ) : boolean
$entityId integer
return boolean

getDeleteUrl() protected method

protected getDeleteUrl ( ) : string
return string