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