add comments
This commit is contained in:
parent
3f3a8eb04d
commit
f54f3bf262
3 changed files with 32 additions and 7 deletions
|
@ -99,10 +99,13 @@ class TwingleApiCall {
|
|||
return $result;
|
||||
}
|
||||
|
||||
public function createProject($values) {
|
||||
try {
|
||||
if (is_array($values)) {
|
||||
$project = new TwingleProject($values);
|
||||
/**
|
||||
* @param $values
|
||||
*
|
||||
* @return array|null
|
||||
* @throws \CiviCRM_API3_Exception
|
||||
* @throws \Exception
|
||||
*/
|
||||
return $project->create();
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue