public function api()
    {
        if (is_null($this->api)) {
            $this->api = app(Api::class);
        }

        return $this->api;
    }
public function api()
    {
        if (is_null($this->api)) {
            $this->api = app(Api::class);
        }

        return $this->api;
    }
public function api ( ) { if ( is_null ( $ this -> api ) ) { $ this -> api = app ( Api :: class ) ; } return $ this -> api ; }
Return the Api instance.

@return \Eyewitness\Eye\Api
Return the Api instance .