1 <?php
2
3 namespace Docoflow\Facades;
4
5 use Docolight\Support\Facade;
6 use Docoflow\Models\WorkflowStateActivity;
7
8 class StateActivity extends Facade
9 {
10 protected static function accessor()
11 {
12 static::$container->bindIf('docoflow.models.StateActivity', function ($container) {
13 return new WorkflowStateActivity('search');
14 });
15
16 return static::$container->make('docoflow.models.StateActivity');
17 }
18 }
19