jeyroik/extas-base

View on GitHub
src/interfaces/IHasState.php

Summary

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

/**
 * Interface IHasState
 *
 * @package extas\interfaces
 * @author jeyroik@gmail.com
 */
interface IHasState
{
    public const FIELD__STATE = 'state';

    /**
     * @return string
     */
    public function getState(): string;

    /**
     * @param string $state
     * @return $this
     */
    public function setState(string $state);
}