This uses Twitter Bootstrap classes for CodeIgniter pagination.
Drop this file into application/config
.
This uses Twitter Bootstrap classes for CodeIgniter pagination.
Drop this file into application/config
.
I finally got the time to play around with unit testing in PHP. I've heard about the term months ago but I really never had the time to play around with it because I considered it as not absolutely necessary for my development workflow. I mean I can still produce useable programs without writing a test for it right?
But admit it, testing the program that you have written is not really that exciting as writing the program itself. Sometimes we even get lazy and not test the program at all only to find things breaking on production. (Note: I'm referring to in-browser testing here)
<?php | |
use Warlock\Annotation\Autowired; | |
class Example | |
{ | |
/** | |
* @Autowired("logger", required=true) | |
* @var LoggerInterface |
<?php | |
/* * ** | |
* | |
* This script converts an existing MySQL database to migrations in Laravel 4. | |
* | |
* 1. Place this file inside app/controllers/ | |
* | |
* 2. In this file, edit the index() method to customize this script to your needs. | |
* - inside $migrate->ignore(), you pass in an array of table |