php设计模式 Delegation(委托模式)
实现代码如下: _object = new $object(); } function addSong($location,$title) { $this->_songs[] = array("location"=>$location,"title"=>$title); } fun
实现代码如下: _object = new $object(); } function addSong($location,$title) { $this->_songs[] = array("location"=>$location,"title"=>$title); } fun