<?php

namespace Illuminate\Translation;

interface LoaderInterface
{// a trait like loader
    /**
     * Load the messages for the given locale.
     *
     * @param  string  $locale
     * @param  string  $group
     * @param  string  $namespace
     * @return array
     */
    public function load($locale, $group, $namespace = null);//
   // to load the messages for the given locale.

    /**
     * Add a new namespace to the loader.
     *
     * @param  string  $namespace
     * @param  string  $hint
     * @return void
     */
    public function addNamespace($namespace, $hint);
   //addNamespace add a new namespace to the loader.
}