public function __construct(IMagicConstants $constants, IMagicScopes $scopes) { $this->constants = $constants; $this->scopes = $scopes; }