1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 01:36:09 +02:00

Refactor Flarum\Web and Flarum\Admin

- In order to be consistent with the Ember/LESS naming scheme, renamed
Flarum\Web to Flarum\Forum.
- Moved common classes into Flarum\Support so that Flarum\Admin doesn’t
depend on Flarum\Forum. Also moved Actor into Flarum\Support as it
doesn’t belong in the domain.
This commit is contained in:
Toby Zerner
2015-03-30 16:17:04 +10:30
parent fc4da97b80
commit 6898e0acbb
31 changed files with 94 additions and 88 deletions

View File

@@ -3,7 +3,7 @@
use Tobscure\JsonApi\SerializerAbstract;
use Flarum\Api\Events\SerializeAttributes;
use Flarum\Api\Events\SerializeRelationship;
use Flarum\Core\Support\Actor;
use Flarum\Support\Actor;
use Closure;
/**
@@ -14,14 +14,14 @@ abstract class BaseSerializer extends SerializerAbstract
/**
* The actor who is requesting the serialized objects.
*
* @var \Flarum\Core\Support\Actor
* @var \Flarum\Support\Actor
*/
protected static $actor;
/**
* Set the actor who is requesting the serialized objects.
*
* @param \Flarum\Core\Support\Actor $actor
* @param \Flarum\Support\Actor $actor
* @return void
*/
public static function setActor(Actor $actor)