blink\http\Response::with PHP Метод

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

public with ( $data )
    public function with($data)
    {
        $this->data = $data;
        return $this;
    }

Usage Example

Пример #1
0
 public function compute($a, $b, Response $response)
 {
     $response->with($a * $b);
     return $response;
 }