Page MenuHomeMTRNord's Forge
Diviner Tech Docs PhabricatorPasteTestDataGenerator

final class PhabricatorPasteTestDataGenerator
Phorge Technical Documentation (Paste)

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()

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

public function getSupportedLanguages()

This method is not documented.
Return
wild

public function generateContent($spec)

This method is not documented.
Parameters
$spec
Return
wild

private function newPasteContent()

This method is not documented.
Return
wild