| 1 | 2 | simandl | <?php |
| 2 | | | |
| 3 | | | namespace Phem\Environment; |
| 4 | | | |
| 5 | | | use Phem\Libraries\ImportExport\Json\JsonSerializableObject; |
| 6 | | | |
| 7 | | | /** |
| 8 | | | * @author kubapet |
| 9 | | | */ |
| 10 | | | class Action extends JsonSerializableObject |
| 11 | | | { |
| 12 | | | |
| 13 | | | private $url; |
| 14 | | | |
| 15 | | | /* |
| 16 | | | * append |
| 17 | | | * prepend |
| 18 | | | * replace |
| 19 | | | */ |
| 20 | | | private $type; |
| 21 | | | private $target; |
| 22 | | | |
| 23 | | | public function getUrl() |
| 24 | | | { |
| 25 | | | return $this->url; |
| 26 | | | } |
| 27 | | | |
| 28 | | | public function setUrl($url) |
| 29 | | | { |
| 30 | | | $this->url = $url; |
| 31 | | | } |
| 32 | | | |
| 33 | | | public function getType() |
| 34 | | | { |
| 35 | | | return $this->type; |
| 36 | | | } |
| 37 | | | |
| 38 | | | public function setType($type) |
| 39 | | | { |
| 40 | | | $this->type = $type; |
| 41 | | | } |
| 42 | | | |
| 43 | | | public function getTarget() |
| 44 | | | { |
| 45 | | | return $this->target; |
| 46 | | | } |
| 47 | | | |
| 48 | | | public function setTarget($target) |
| 49 | | | { |
| 50 | | | $this->target = $target; |
| 51 | | | } |
| 52 | | | |
| 53 | | | } |