src/Main.php
public function respond( $data ) {

		$result = array_filter( $this->getHeaders() );

		if ( empty( $result ) )
			return response()->json( $data, $this->getStatusCode() );

		return response()->json( $data, $this->getStatusCode() )
						->withHeaders( $this->getHeaders() );

	}
public function respond( $data ) {

		$result = array_filter( $this->getHeaders() );

		if ( empty( $result ) )
			return response()->json( $data, $this->getStatusCode() );

		return response()->json( $data, $this->getStatusCode() )
						->withHeaders( $this->getHeaders() );

	}
Response
@param $data : json
@return $this|\Illuminate\Http\JsonResponse
@author Shima Payro <sh.payro@anetwork.ir>
@since May 2, 2016 9:48:45 AM
@uses
@see