Skip to content
Snippets Groups Projects
Select Git revision
  • d2b66434b6d194970e9e619c42faa4ec1e119d13
  • master default protected
  • 1.2.3
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0
10 results

ApiResponse.php

Blame
  • ApiResponse.php 565 B
    <?php
    
    namespace WPDesk\ApiClient\Response;
    
    
    interface ApiResponse extends Response
    {
        /**
         * Get links structure to the other request
         *
         * @return array
         */
        public function getLinks();
    
        /**
         * Is it a BAD REQUEST response
         *
         * @return bool
         */
        public function isBadRequest();
    
        /**
         * Is it a FATAL ERROR response
         *
         * @return bool
         */
        public function isServerFatalError();
    
        /**
         * Is requested resource exists
         *
         * @return bool
         */
        public function isNotExists();
    }