Google\Cloud\Speech\Operation::__construct PHP Méthode

__construct() public méthode

public __construct ( Google\Cloud\Speech\Connection\ConnectionInterface $connection, string $name, array $info = [] )
$connection Google\Cloud\Speech\Connection\ConnectionInterface Represents a connection to the Google Cloud Speech API.
$name string The operation's name.
$info array [optional] The operation's data.
    public function __construct(ConnectionInterface $connection, $name, array $info = [])
    {
        $this->connection = $connection;
        $this->name = $name;
        $this->info = $info;
    }