1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 22:44:25 +02:00

Rework public API based on events

This commit is contained in:
Toby Zerner
2015-07-18 22:59:47 +09:30
parent 5085c09c30
commit 57650fa648
136 changed files with 1157 additions and 1245 deletions

View File

@@ -0,0 +1,34 @@
<?php namespace Flarum\Events;
use Flarum\Support\ClientAction;
use Flarum\Support\ClientView;
class BuildClientView
{
/**
* @var ClientAction
*/
protected $action;
/**
* @var ClientView
*/
protected $view;
/**
* @var array
*/
protected $keys;
/**
* @param ClientAction $action
* @param ClientView $view
* @param array $keys
*/
public function __construct($action, $view, &$keys)
{
$this->action = $action;
$this->view = $view;
$this->keys = &$keys;
}
}