edde-framework/edde-framework

View on GitHub
src/Edde/Api/Http/ICookieList.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
    declare(strict_types=1);

    namespace Edde\Api\Http;

    use Edde\Api\Collection\IList;

    /**
     * Formal interface for a cookie list implementation.
     */
    interface ICookieList extends IList {
        /**
         * set a cookie
         *
         * @param ICookie $cookie
         *
         * @return $this
         */
        public function addCookie(ICookie $cookie);
    }