摘要: The other problem I had with Laravel Task Scheduling was that i really only wanted something to handle the scheduling. I already had my logical unit o 阅读全文
posted @ 2016-12-06 17:51 3002059249 阅读(339) 评论(0) 推荐(0) 编辑
摘要: Just to recap, previously we'd have this sort of thing: namespace me\adamcameron\testApp; use GuzzleHttp\Client; class GuzzleAdapter { private $client 阅读全文
posted @ 2016-12-06 17:47 3002059249 阅读(231) 评论(0) 推荐(0) 编辑
摘要: TP3系列中functions.php文件默认其实是空文件,很好找。我们可以直接封装代码。 Laravel5系列中的path/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php。该文件中封装的函数就是全局函数,可以在任意区域进 阅读全文
posted @ 2016-12-06 17:36 3002059249 阅读(205) 评论(0) 推荐(0) 编辑
摘要: function jmc_new_lib(){// Because we still want the script to load but not the styleswp_enqueue_script( 'wp-mediaelement' );// Enqueue our own styles 阅读全文
posted @ 2016-12-06 17:34 3002059249 阅读(212) 评论(0) 推荐(0) 编辑