Differential D7511 Diff 16936 src/applications/harbormaster/controller/HarbormasterStepAddController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/controller/HarbormasterStepAddController.php
<?php | <?php | ||||
final class HarbormasterStepAddController | final class HarbormasterStepAddController | ||||
extends HarbormasterController { | extends HarbormasterController { | ||||
private $id; | private $id; | ||||
public function willProcessRequest(array $data) { | public function willProcessRequest(array $data) { | ||||
$this->id = $data['id']; | $this->id = $data['id']; | ||||
} | } | ||||
/** | |||||
* @phutil-external-symbol class BuildStepImplementation | |||||
*/ | |||||
public function processRequest() { | public function processRequest() { | ||||
$request = $this->getRequest(); | $request = $this->getRequest(); | ||||
$viewer = $request->getUser(); | $viewer = $request->getUser(); | ||||
$this->requireApplicationCapability( | $this->requireApplicationCapability( | ||||
HarbormasterCapabilityManagePlans::CAPABILITY); | HarbormasterCapabilityManagePlans::CAPABILITY); | ||||
$id = $this->id; | $id = $this->id; | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |