seregazhuk/php-pinterest-bot

View on GitHub
src/Api/Contracts/PaginatedResponse.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace seregazhuk\PinterestBot\Api\Contracts;

interface PaginatedResponse
{
    /**
     * Parse bookmarks from response.
     *
     * @return array
     */
    public function getBookmarks();

    /**
     * @return bool
     */
    public function hasBookmarks();

    /**
     * @return array|bool
     */
    public function getResponseData();

    /**
     * @return bool
     */
    public function isEmpty();
}