Making a note that we should not use Actor as a singleton

This commit is contained in:
Toby Zerner 2015-05-02 08:57:14 +09:30
parent e66a3721ee
commit 5de1a99816

View File

@ -10,6 +10,8 @@ class LoginWithHeader
protected $prefix = 'Token ';
// @todo rather than using a singleton, we should have our own HTTP
// Request class and store the actor on that? somehow?
public function __construct(Actor $actor)
{
$this->actor = $actor;