Page MenuHomeGitPull.it
Diviner Tech Docs PhabricatorBadgesBadgeTestDataGenerator

final class PhabricatorBadgesBadgeTestDataGenerator
Phorge Technical Documentation ()

This class is not documented.

Methods

public function getGeneratorName()

This method is not documented.
Return
wild

public function generateObject()

This method is not documented.
Return
wild

final public function setViewer($viewer)
Inherited

This method is not documented.
Parameters
\PhabricatorUser$viewer
Return
wild

final public function getViewer()
Inherited

This method is not documented.
Return
wild

final public function getGeneratorKey()
Inherited

This method is not documented.
Return
wild

protected function loadRandomPHID($table)
Inherited

This method is not documented.
Parameters
$table
Return
wild

protected function loadRandomUser()
Inherited

This method is not documented.
Return
wild

protected function getLipsumContentSource()
Inherited

This method is not documented.
Return
wild

protected function roll($n, $d, $bonus)
Inherited

PhabricatorTestDataGenerator

Roll n dice with d sides each, then add bonus and return the sum.

Parameters
$n
$d
$bonus
Return
wild

protected function newEmptyTransaction()
Inherited

This method is not documented.
Return
wild

protected function newTransaction($type, $value, $metadata)
Inherited

This method is not documented.
Parameters
$type
$value
$metadata
Return
wild

public function loadOneRandom($classname)
Inherited

PhabricatorTestDataGenerator

Get one random object by its PHP class name.

Parameters
class-string$classnamePHP class name.
Return
PhabricatorLiskDAOObject of that class.

final public function loadPhabricatorUserPHID()
Inherited

PhabricatorTestDataGenerator

Get the PHID of a random Phabricator user.

Return
string

final public function loadPhabricatorUser()
Inherited

PhabricatorTestDataGenerator

Get a random PhabricatorUser object.

Return
PhabricatorUser

private function newLoot()

This method is not documented.
Return
wild

public function rollDropValue($matches)

This method is not documented.
Parameters
$matches
Return
wild