-
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 #108 from demvsystems/altersvorsorge-prioritaeten
Prioritaeten für die Altersvorsorge
- Loading branch information
Showing
11 changed files
with
400 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge; | ||
|
||
use Demv\Werte\AbstractProvider; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\ArbeitgeberUnabhaengig; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\EinmaligeAuszahlungVorRentenbeginn; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\FuerImmobilienerwerbVerfuegbar; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\Harz4Sicher; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\LebenslangeGarantierteRente; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\NichtFamiliaereVererbung; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\StaatlichFoerderbar; | ||
use Demv\Werte\Altersvorsorge\Prioritaeten\VorRentenbeginnVerfuegbar; | ||
use Demv\Werte\Exception\EntryNotFoundException; | ||
|
||
/** | ||
* Class Prioritaeten | ||
* @package Demv\Werte\Altersvorsorge | ||
*/ | ||
final class Prioritaeten extends AbstractProvider | ||
{ | ||
public function __construct() | ||
{ | ||
$this->appendMember(new VorRentenbeginnVerfuegbar()); | ||
$this->appendMember(new EinmaligeAuszahlungVorRentenbeginn()); | ||
$this->appendMember(new FuerImmobilienerwerbVerfuegbar()); | ||
$this->appendMember(new Harz4Sicher()); | ||
$this->appendMember(new LebenslangeGarantierteRente()); | ||
$this->appendMember(new NichtFamiliaereVererbung()); | ||
$this->appendMember(new StaatlichFoerderbar()); | ||
$this->appendMember(new ArbeitgeberUnabhaengig()); | ||
} | ||
|
||
/** | ||
* @param int $id | ||
* | ||
* @return PrioritaetenInterface | ||
* @throws EntryNotFoundException | ||
*/ | ||
public function getOne(int $id): PrioritaetenInterface | ||
{ | ||
return parent::getOne($id); | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Werte/Altersvorsorge/Prioritaeten/ArbeitgeberUnabhaengig.php
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class ArbeitgeberUnabhaengig | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class ArbeitgeberUnabhaengig extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 5; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Anlage unabhängig vom Arbeitgeber'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Die Altersvorsorge soll unabhängig vom Arbeitgeber aufgebaut werden.'; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Werte/Altersvorsorge/Prioritaeten/EinmaligeAuszahlungVorRentenbeginn.php
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class EinmaligeAuszahlungVorRentenbeginn | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class EinmaligeAuszahlungVorRentenbeginn extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 7; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Einmalige Auszahlung vor Rentenbeginn'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Vor Rentenbeginn soll die Option bestehen, das Kapital einmalig auszahlen zu lassen.'; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Werte/Altersvorsorge/Prioritaeten/FuerImmobilienerwerbVerfuegbar.php
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class FuerImmobilienerwerbVerfuegbar | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class FuerImmobilienerwerbVerfuegbar extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 2; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Anlage für Immobilienerwerb verfuegbar'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Die Anlage soll zum Immobilienerwerb eingesetzt werden können.'; | ||
} | ||
} |
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class Harz4Sicher | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class Harz4Sicher extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 3; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Anlage Harz IV sicher'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Die Anlage soll „Hartz IV“ sicher sein.'; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Werte/Altersvorsorge/Prioritaeten/LebenslangeGarantierteRente.php
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class LebenslangeGarantierteRente | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class LebenslangeGarantierteRente extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 6; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Lebenslange Garantierte Rente'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Die Auszahlung soll als lebenslange, garantierte Rente erfolgen.'; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Werte/Altersvorsorge/Prioritaeten/NichtFamiliaereVererbung.php
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class NichtFamiliaereVererbung | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class NichtFamiliaereVererbung extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 8; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Vererbung auch nicht Familiaer möglich'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Im Todesfall soll das angesparte Kapital auch außerhalb von Ehepartner oder Kindern vererbt werden.'; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Werte/Altersvorsorge/Prioritaeten/StaatlichFoerderbar.php
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class StaatlichFoerderbar | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class StaatlichFoerderbar extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 4; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Anlage staatlich förderbar'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Es sollen staatliche Förderungen genutzt werden (Steuerersparnis, Zulagen).'; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Werte/Altersvorsorge/Prioritaeten/VorRentenbeginnVerfuegbar.php
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,28 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge\Prioritaeten; | ||
|
||
use Demv\Werte\Altersvorsorge\PrioritaetenInterface; | ||
use Demv\Werte\Value; | ||
|
||
/** | ||
* Class VorRentenbeginnVerfuegbar | ||
* @package Demv\Werte\Altersvorsorge\Prioritaeten | ||
*/ | ||
final class VorRentenbeginnVerfuegbar extends Value implements PrioritaetenInterface | ||
{ | ||
const ID = 1; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(self::ID, 'Anlage vor Rentenbeginn verfuegbar'); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string | ||
{ | ||
return 'Vor Rentenbeginn soll die Option bestehen, das Kapital einmalig auszahlen zu lassen.'; | ||
} | ||
} |
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,17 @@ | ||
<?php | ||
|
||
namespace Demv\Werte\Altersvorsorge; | ||
|
||
use Demv\Werte\ValueInterface; | ||
|
||
/** | ||
* Interface PrioritaetenInterface | ||
* @package Demv\Werte\Altersvorsorge | ||
*/ | ||
interface PrioritaetenInterface extends ValueInterface | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
public function getStatement(): string; | ||
} |
Oops, something went wrong.