-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from demvsystems/themen-update
Themen Update
- Loading branch information
Showing
15 changed files
with
211 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Bedarf\Thema\Themen; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
use Demv\Werte\Sparte\Sparten\PrivateSachversicherung; | ||
|
||
/** | ||
* Class Hausrat | ||
* @package Demv\Werte\Bedarf\Thema\Themen | ||
*/ | ||
final class Hausrat extends Bedarfsthema | ||
{ | ||
const ID = 11; | ||
|
||
/** | ||
* Hausrat constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Hausrat', [PrivateSachversicherung::HAUSRAT]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Bedarf\Thema\Themen; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
use Demv\Werte\Sparte\Sparten\PrivateSachversicherung; | ||
|
||
/** | ||
* Class Kfz | ||
* @package Demv\Werte\Bedarf\Thema\Themen | ||
*/ | ||
final class Kfz extends Bedarfsthema | ||
{ | ||
const ID = 14; | ||
|
||
/** | ||
* Kfz constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'KFZ', [PrivateSachversicherung::KFZ]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Bedarf\Thema\Themen; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
use Demv\Werte\Sparte\Sparten\Vorsorge; | ||
|
||
/** | ||
* Class Pflegevorsorge | ||
* @package Demv\Werte\Bedarf\Thema\Themen | ||
*/ | ||
final class Pflegevorsorge extends Bedarfsthema | ||
{ | ||
const ID = 9; | ||
|
||
/** | ||
* Pflegevorsorge constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Pflegevorsorge', [Vorsorge::PFLEGEVERSICHERUNG]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Bedarf\Thema\Themen; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
|
||
/** | ||
* Class Privathaftpflicht | ||
* @package Demv\Werte\Bedarf\Thema\Themen | ||
*/ | ||
final class Privathaftpflicht extends Bedarfsthema | ||
{ | ||
const ID = 10; | ||
|
||
/** | ||
* Privathaftpflicht constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Privathaftpflicht', [\Demv\Werte\Sparte\Sparten\Privathaftpflicht::ID]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Bedarf\Thema\Themen; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
use Demv\Werte\Sparte\Sparten\RechtsschutzPrivat; | ||
|
||
/** | ||
* Class Rechtsschutz | ||
* @package Demv\Werte\Bedarf\Thema\Themen | ||
*/ | ||
final class Rechtsschutz extends Bedarfsthema | ||
{ | ||
const ID = 13; | ||
|
||
/** | ||
* Rechtsschutz constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Rechtsschutz', [ | ||
RechtsschutzPrivat::ID, | ||
RechtsschutzPrivat::VERMIETER, | ||
RechtsschutzPrivat::MIETER_EIGENTUEMER, | ||
RechtsschutzPrivat::BERUF, | ||
RechtsschutzPrivat::VERKEHR, | ||
RechtsschutzPrivat::PRIVAT, | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Bedarf\Thema\Themen; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
use Demv\Werte\Sparte\Sparten\PrivateSachversicherung; | ||
|
||
/** | ||
* Class Unfallversicherung | ||
* @package Demv\Werte\Bedarf\Thema\Themen | ||
*/ | ||
final class Unfallversicherung extends Bedarfsthema | ||
{ | ||
const ID = 8; | ||
|
||
/** | ||
* Unfallversicherung constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Unfallversicherung', [PrivateSachversicherung::UNFALLVERSICHERUNG]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Bedarf\Thema\Themen; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
use Demv\Werte\Sparte\Sparten\PrivateSachversicherung; | ||
|
||
/** | ||
* Class Wohngebaeude | ||
* @package Demv\Werte\Bedarf\Thema\Themen | ||
*/ | ||
final class Wohngebaeude extends Bedarfsthema | ||
{ | ||
const ID = 12; | ||
|
||
/** | ||
* Wohngebaeude constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Wohngebäude', [PrivateSachversicherung::WOHNGEBAUEDEVERSICHERUNG]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Tests\Bedarf\Thema; | ||
|
||
use Demv\Werte\Bedarf\Thema\Bedarfsthema; | ||
use PHPUnit\Framework\TestCase; | ||
|
||
/** | ||
* Class BedarfsthemaTest | ||
* @package Demv\Werte\Tests\Bedarf\Thema | ||
*/ | ||
final class BedarfsthemaTest extends TestCase | ||
{ | ||
public function testBedarfsthema() | ||
{ | ||
$bedarfsthema = new Bedarfsthema(0, 'test', [99, 100]); | ||
$this->assertCount(2, $bedarfsthema->getSpartenIds()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters