public function file($path)
	{
		$absolutePath = Asset::isJavascript($path);
		if ($absolutePath) {
			return $this->javascript($absolutePath);
		}

		$absolutePath = Asset::isStylesheet($path);
		if ($absolutePath) {
			return $this->stylesheet($absolutePath);
		}

		$absolutePath = Asset::isFile($path);
		if ($absolutePath)
		{
			$this->clientCacheForFile($absolutePath);
			return new BinaryFileResponse($absolutePath, 200);
		}

		App::abort(404);
	}
public function file($path)
	{
		$absolutePath = Asset::isJavascript($path);
		if ($absolutePath) {
			return $this->javascript($absolutePath);
		}

		$absolutePath = Asset::isStylesheet($path);
		if ($absolutePath) {
			return $this->stylesheet($absolutePath);
		}

		$absolutePath = Asset::isFile($path);
		if ($absolutePath)
		{
			$this->clientCacheForFile($absolutePath);
			return new BinaryFileResponse($absolutePath, 200);
		}

		App::abort(404);
	}
public function file ( $ path ) { $ absolutePath = Asset :: isJavascript ( $ path ) ; if ( $ absolutePath ) { return $ this -> javascript ( $ absolutePath ) ; } $ absolutePath = Asset :: isStylesheet ( $ path ) ; if ( $ absolutePath ) { return $ this -> stylesheet ( $ absolutePath ) ; } $ absolutePath = Asset :: isFile ( $ path ) ; if ( $ absolutePath ) { $ this -> clientCacheForFile ( $ absolutePath ) ; return new BinaryFileResponse ( $ absolutePath , 200 ) ; } App :: abort ( 404 ) ; }
Returns a file in the assets directory

@return \Illuminate\Support\Facades\Response
Returns a file in the assets directory