试图将 IoC 用作工厂。我可以传递数据来初始化/构造对象吗?
App::bind('Song', function(){
    return new Song;
});
并模仿这个($data 永远不会被传递,为什么?)
App::bind('Song', function($data=null){
    return new Song($data);
});
而类是
class Song extends Eloquent {
    protected $fillable = array(
        'id',
        'name',
        'type'
    );
}
该App::make('Song',array('id'=>1,'name'=>'foo'))调用跳过在 Illuminate\Container 中插入我的参数 - 初始化的类不包含任何已定义的属性。