Esempio n. 1
0
 /**
  * @covers            ::close
  * @expectedException LogicException
  * @group             Email
  */
 public function testAlreadyClosed()
 {
     $object = new Socket();
     $object->close();
 }
Esempio n. 2
0
 /**
  * Returns connection stream
  *
  * @return resource
  */
 public function getStream()
 {
     return $this->connection->getStream();
 }