Skip to content

Instantly share code, notes, and snippets.

<?php
interface Command {
public function execute();
}
class CreateFile implements Command {
public function execute() {
echo "Creating file \n";
}
<?php
interface Command {
public function execute();
}
class CreateFile implements Command {
public function execute() {
echo "Creating file \n";
}
@RyanAntenor
RyanAntenor / .gitignore
Last active August 29, 2015 14:06 — forked from redoPop/.gitignore
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your