~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/XTR/TaskInterface.php

  • Committer: Dan Garner
  • Date: 2015-08-11 09:29:02 UTC
  • mto: This revision was merged to the branch mainline in revision 453.
  • Revision ID: git-v1:a86fb4369b7395c13367577d23b14c0ab4528c1a
Transitions fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * Spring Signage Ltd - http://www.springsignage.com
4
 
 * Copyright (C) 2016 Spring Signage Ltd
5
 
 * (TaskInterface.php)
6
 
 */
7
 
 
8
 
 
9
 
namespace Xibo\XTR;
10
 
use Slim\Slim;
11
 
use Stash\Interfaces\PoolInterface;
12
 
use Xibo\Entity\Task;
13
 
use Xibo\Entity\User;
14
 
use Xibo\Factory\DisplayFactory;
15
 
use Xibo\Factory\LayoutFactory;
16
 
use Xibo\Factory\MediaFactory;
17
 
use Xibo\Factory\NotificationFactory;
18
 
use Xibo\Factory\UpgradeFactory;
19
 
use Xibo\Factory\UserFactory;
20
 
use Xibo\Factory\UserGroupFactory;
21
 
use Xibo\Factory\UserNotificationFactory;
22
 
use Xibo\Service\ConfigServiceInterface;
23
 
use Xibo\Service\DateServiceInterface;
24
 
use Xibo\Service\LogServiceInterface;
25
 
use Xibo\Service\SanitizerServiceInterface;
26
 
use Xibo\Storage\StorageServiceInterface;
27
 
 
28
 
/**
29
 
 * Interface TaskInterface
30
 
 * @package Xibo\XTR
31
 
 */
32
 
interface TaskInterface
33
 
{
34
 
    /**
35
 
     * Set the app options
36
 
     * @param ConfigServiceInterface $config
37
 
     * @return $this
38
 
     */
39
 
    public function setConfig($config);
40
 
 
41
 
    /**
42
 
     * @param LogServiceInterface $logger
43
 
     * @return $this
44
 
     */
45
 
    public function setLogger($logger);
46
 
 
47
 
    /**
48
 
     * @param SanitizerServiceInterface $sanitizer
49
 
     * @return $this
50
 
     */
51
 
    public function setSanitizer($sanitizer);
52
 
 
53
 
    /**
54
 
     * @param DateServiceInterface $date
55
 
     * @return $this
56
 
     */
57
 
    public function setDate($date);
58
 
 
59
 
    /**
60
 
     * Set the task
61
 
     * @param Task $task
62
 
     * @return $this
63
 
     */
64
 
    public function setTask($task);
65
 
 
66
 
    /**
67
 
     * @param StorageServiceInterface $store
68
 
     * @return $this
69
 
     */
70
 
    public function setStore($store);
71
 
 
72
 
    /**
73
 
     * @param PoolInterface $pool
74
 
     * @return $this
75
 
     */
76
 
    public function setPool($pool);
77
 
 
78
 
    /**
79
 
     * @param User $user
80
 
     * @return $this
81
 
     */
82
 
    public function setUser($user);
83
 
 
84
 
    /**
85
 
     * @param Slim $app
86
 
     * @return $this
87
 
     */
88
 
    public function setApp($app);
89
 
 
90
 
    /**
91
 
     * @param UserFactory $userFactory
92
 
     * @param UserGroupFactory $userGroupFactory
93
 
     * @param LayoutFactory $layoutFactory
94
 
     * @param DisplayFactory $displayFactory
95
 
     * @param UpgradeFactory $upgradeFactory
96
 
     * @param MediaFactory $mediaFactory
97
 
     * @param NotificationFactory $notificationFactory
98
 
     * @param UserNotificationFactory $userNotificationFactory
99
 
     * @return $this
100
 
     */
101
 
    public function setFactories($userFactory, $userGroupFactory, $layoutFactory, $displayFactory, $upgradeFactory, $mediaFactory, $notificationFactory, $userNotificationFactory);
102
 
 
103
 
    /**
104
 
     * @return $this
105
 
     */
106
 
    public function run();
107
 
 
108
 
    /**
109
 
     * Get the run message
110
 
     * @return string
111
 
     */
112
 
    public function getRunMessage();
113
 
}
 
 
b'\\ No newline at end of file'