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

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

Returns the collection as a PHP array.
public toArray ( ) : array
Результат array the array representation of the collection. The array keys are cookie names, and the array values are the corresponding cookie objects.
    public function toArray()
    {
        return $this->_cookies;
    }