mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-12 00:26:13 +01:00
608dd06151
Summary: Builds a basic room generator for Conpherence, picks a random name, adds 10 random users to it, sets view and edit policy to all users. Test Plan: `bin/lipsum generate conpherence` {F4928815} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D17699
19 lines
388 B
PHP
19 lines
388 B
PHP
<?php
|
|
|
|
final class ConpherenceEditConduitAPIMethod
|
|
extends PhabricatorEditEngineAPIMethod {
|
|
|
|
public function getAPIMethodName() {
|
|
return 'conpherence.edit';
|
|
}
|
|
|
|
public function newEditEngine() {
|
|
return new ConpherenceEditEngine();
|
|
}
|
|
|
|
public function getMethodSummary() {
|
|
return pht(
|
|
'Apply transactions to create a new room or edit an existing one.');
|
|
}
|
|
|
|
}
|