<?php

namespace Nerd\Framework;

use Nerd\Framework\Http\Request\RequestContract;
use Nerd\Framework\Http\Response\ResponseContract;

interface ApplicationContract extends Container\ContainerContract
{
    /**
     * Handle HTTP Request by Application and return HTTP Response
     *
     * @param RequestContract $request
     * @return ResponseContract
     */
    public function handle(RequestContract $request);

    /**
     * @param string $key
     * @param mixed $default
     * @return mixed
     */
    public function config($key, $default = null);

    /**
     * @param string $key
     * @param mixed $default
     * @return mixed
     */
    public function env($key, $default = null);
}

<?php

namespace Nerd\Framework;

use Nerd\Framework\Http\Request\RequestContract;
use Nerd\Framework\Http\Response\ResponseContract;

interface ApplicationContract extends Container\ContainerContract
{
    /**
     * Handle HTTP Request by Application and return HTTP Response
     *
     * @param RequestContract $request
     * @return ResponseContract
     */
    public function handle(RequestContract $request);

    /**
     * @param string $key
     * @param mixed $default
     * @return mixed
     */
    public function config($key, $default = null);
}

Remove env method from Application Contract.
Remove env method from Application Contract.
