【Laravel3.0.0源码阅读分析】gitHub类github.php
·
<?php namespace Laravel\CLI\Tasks\Bundle\Providers; use Laravel\Request;
class Github extends Provider {
/**
* Install the given bundle into the application.
* 将给定的包安装到应用程序中。
* @param string $bundle
* @param string $path
* @return void
*/
public function install($bundle, $path)
{
$url = "http://nodeload.github.com/{$bundle['location']}/zipball/master";
parent::zipball($url, $bundle, $path);
}
}
更多推荐



所有评论(0)