Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/storage/DrydockBlueprint.php
Show First 20 Lines • Show All 272 Lines • ▼ Show 20 Lines | if (!$interface) { | ||||
pht( | pht( | ||||
'Unable to build resource interface of type "%s".', | 'Unable to build resource interface of type "%s".', | ||||
$type)); | $type)); | ||||
} | } | ||||
return $interface; | return $interface; | ||||
} | } | ||||
public function shouldAllocateSupplementalResource( | |||||
DrydockResource $resource, | |||||
DrydockLease $lease) { | |||||
return $this->getImplementation()->shouldAllocateSupplementalResource( | |||||
$this, | |||||
$resource, | |||||
$lease); | |||||
} | |||||
/* -( PhabricatorApplicationTransactionInterface )------------------------- */ | /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | ||||
public function getApplicationTransactionEditor() { | public function getApplicationTransactionEditor() { | ||||
return new DrydockBlueprintEditor(); | return new DrydockBlueprintEditor(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |