Find us on facebook

Oct 12, 2017

Interface

<?php

namespace App\Contracts;

interface UserInterface {

    /**
     * Get datatable json
     * @return JSON Datatable json object
     */
    public function data();

    /**
     * Get user by user id
     * @param  int $userId User ID
     * @return json object
     */
    public function getUserById($userId);

    public function activate(Array $payload);

    public function updateProfile(Array $payload);

}

No comments:

Post a Comment