Skip to content

Instantly share code, notes, and snippets.

View Crinsane's full-sized avatar

Rob Gloudemans Crinsane

View GitHub Profile
@Crinsane
Crinsane / Cart.php
Created November 5, 2014 10:16
PHPSpec test and classes
<?php namespace Crinsane\ShoppingCart;
use Countable;
use Illuminate\Contracts\Events\Dispatcher;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
class Cart implements Countable {
/**
* Implementation of the Symfony SessionInterface
@Crinsane
Crinsane / gist:6577840
Created September 16, 2013 08:09
php.ini file
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order: