updates form api service
This commit is contained in:
23
workflow/engine/classes/class.api.php
Normal file
23
workflow/engine/classes/class.api.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace ProcessMaker;
|
||||
|
||||
class Api
|
||||
{
|
||||
private static $workspace;
|
||||
|
||||
public function __costruct()
|
||||
{
|
||||
$this->workspace = null;
|
||||
}
|
||||
|
||||
public static function setWorkspace($workspace)
|
||||
{
|
||||
self::$workspace = $workspace;
|
||||
}
|
||||
|
||||
public function getWorkspace()
|
||||
{
|
||||
return self::$workspace;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user