<?php class Intent { public $name; public $data; public $intentService; public $patterns= []; public $usedPattern; public $hasOtherIntents = false; function __construct(IntentService $intentService) { $this->intentService = $intentService; $this->init(); } function init(){} function getIS() : IntentService { return $this->intentService; } function getName(){ return $this->name; } function setData($data){ $this->data = $data; return $this; } function act(){ } function actInline(){ } function getIntentID(){ return 100; } function getUsedPattern() : Pattern { return $this->usedPattern; } function setUsedPattern(Pattern $usedPattern) : Intent { $this->usedPattern = $usedPattern; return $this; } function canHaveOtherIntents(){ return $this->hasOtherIntents; } } ?>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
currency | Folder | 0755 |
|
|
date | Folder | 0755 |
|
|
digit | Folder | 0755 |
|
|
inline | Folder | 0755 |
|
|
invite | Folder | 0755 |
|
|
patreon | Folder | 0755 |
|
|
start | Folder | 0755 |
|
|
testmaker | Folder | 0755 |
|
|
translate | Folder | 0755 |
|
|
Intent.class.php | File | 987 B | 0755 |
|