dolejska-daniel/challonge-api

View on GitHub
src/ChallongeAPI/Objects/IApiObject.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace ChallongeAPI\Objects;

/**
 *   Interface IApiObject
 *
 * @package ChallongeAPI\Objects
 */
interface IApiObject
{
    /**
     *   IApiObject constructor.
     *
     * @param array $data
     */
    public function __construct( array $data );

    /**
     *   Gets all the original data fetched from ChallongeAPI.
     *
     * @return array
     */
    public function getData(): array;
}