yii\web\CookieCollection::fromArray PHP Метод

fromArray() публичный Метод

Populates the cookie collection from an array.
С версии: 2.0.3
public fromArray ( array $array )
$array array the cookies to populate from
    public function fromArray(array $array)
    {
        $this->_cookies = $array;
    }