2018-09-06 12:58:36 +02:00
|
|
|
<?php
|
2018-09-12 23:25:22 +03:00
|
|
|
|
2019-01-20 10:41:58 +01:00
|
|
|
namespace App\Attribut;
|
2018-09-06 12:58:36 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
|
|
|
interface IdAttributInterface
|
|
|
|
{
|
2019-01-13 16:32:00 +01:00
|
|
|
/**
|
|
|
|
* @param int $id
|
|
|
|
*/
|
2018-09-06 12:58:36 +02:00
|
|
|
public function setId(int $id): void;
|
2018-09-12 23:25:22 +03:00
|
|
|
|
2019-01-13 16:32:00 +01:00
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
2018-09-06 12:58:36 +02:00
|
|
|
public function getId(): int;
|
2019-01-13 16:32:00 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return bool Checks if attribute is set
|
|
|
|
*/
|
|
|
|
public function hasId(): bool;
|
2018-09-06 12:58:36 +02:00
|
|
|
}
|