jeyroik/extas-base

View on GitHub
src/interfaces/IHasId.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace extas\interfaces;

/**
 * Interface IHasId
 *
 * @package extas\interfaces
 * @author jeyroik@gmail.com
 */
interface IHasId
{
    public const FIELD__ID = 'id';

    /**
     * @return mixed
     */
    public function getId();

    /**
     * @param mixed $name
     *
     * @return $this
     */
    public function setId(string $name);
}