Exemplo n.º 1
0
 /**
  * @dataProvider isSerializedProvider()
  */
 public function testIsSerialized($expected, $str, $encoding = null)
 {
     $result = S::isSerialized($str, $encoding);
     $this->assertInternalType('boolean', $result);
     $this->assertEquals($expected, $result);
 }
Exemplo n.º 2
0
 public function isSerialized($string)
 {
     return Stringy::isSerialized($string);
 }