Skip to content

Instantly share code, notes, and snippets.

@ralphschindler
Created October 12, 2012 20:46
Show Gist options
  • Save ralphschindler/3881402 to your computer and use it in GitHub Desktop.
Save ralphschindler/3881402 to your computer and use it in GitHub Desktop.
<?php
class SomeClass {
/**
* @signature __construct(string $authentication) 40 byte auth code
* @signature __construct(string $username, string $password) Github Username, Github Password
* @signature __construct(array $authentication) array('username' => 'xx', 'password' => xxx)
*
* @param string|array $authentication
*/
public function __construct($authentication = null)
{}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment