summaryrefslogtreecommitdiffstats
path: root/source/Command/User/AbstractCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'source/Command/User/AbstractCommand.php')
-rw-r--r--source/Command/User/AbstractCommand.php63
1 files changed, 63 insertions, 0 deletions
diff --git a/source/Command/User/AbstractCommand.php b/source/Command/User/AbstractCommand.php
new file mode 100644
index 0000000..00512c2
--- /dev/null
+++ b/source/Command/User/AbstractCommand.php
@@ -0,0 +1,63 @@
+<?php
+/**
+ * @author stev leibelt <artodeto@bazzline.net>
+ * @since 2014-08-14
+ */
+
+/**
+ * Class Command_User_AbstractCommand
+ */
+abstract class Command_User_AbstractCommand extends Command_AbstractCommand implements Command_User_CommandInterface
+{
+ /**
+ * @var array
+ */
+ protected $channels;
+
+ /**
+ * @var array
+ */
+ protected $roles;
+
+ /**
+ * @var File
+ */
+ protected $file;
+
+ /**
+ * @var array
+ */
+ protected $users;
+
+ /**
+ * @param array $channels
+ */
+ public function setChannels(array $channels)
+ {
+ $this->channels = $channels;
+ }
+
+ /**
+ * @param array $roles
+ */
+ public function setRoles(array $roles)
+ {
+ $this->roles = $roles;
+ }
+
+ /**
+ * @param \File $userFile
+ */
+ public function setUserFile(File $userFile)
+ {
+ $this->file = $userFile;
+ }
+
+ /**
+ * @param array $users
+ */
+ public function setUsers(array $users)
+ {
+ $this->users = $users;
+ }
+} \ No newline at end of file