In between commit refactoring and implementing tests

This commit is contained in:
Kevin Frantz
2018-10-28 20:28:29 +01:00
parent 89396dfef3
commit de51649d63
21 changed files with 105 additions and 148 deletions

View File

@@ -46,12 +46,14 @@ class User extends BaseUser implements UserInterface
*/
protected $version;
/**
* @todo Initialize all needed attributs
*/
public function __construct()
{
parent::__construct();
$this->isActive = true;
$this->source = new UserSource();
LawModificator::grantAllRights($this->source->getNode()->getLaw(), $this->source->getNode());
//var_dump($this->source->getNode()->getLaw()->getRights()->get(0));
//LawModificator::grantAllRights($this->source->getNode()->getLaw(), $this->source->getNode());
}
}