Skip to content

Instantly share code, notes, and snippets.

View hypeJunction's full-sized avatar

Ismayil Khayredinov hypeJunction

View GitHub Profile
@hypeJunction
hypeJunction / 1_phpunit-api.md
Created July 22, 2016 10:15 — forked from loonies/1_phpunit-api.md
PHPUnit Cheat Sheet

PHPUnit API reference

  • version 3.6

TODO

Check those constraints:

$this->anything()
@hypeJunction
hypeJunction / ElggForm.php
Created August 8, 2012 09:13
ElggForm API
<?php
class ElggForm {
// $name should correspond to the Elgg action, e.g. ‘blogs/add’
function __construct($name, $params);
function registerInput($name, $options); // adds an input; should return form or input?
function getInput($name); // returns the input
function removeInput($name); // returns the removed input