public function allocateProject($alias, $name, $pid)
{
try {
$record = ['pid' => $pid, 'alias' => $alias, 'name' => $name];
$this->updateStorage($record);
$this->data = array_merge($this->data, $record);
} catch (Error $ex) {
return false;
} catch (Exception $ex) {
return false;
}
return true;
}