drop() 공개 메소드

Drops a $class, or the $property in the given $class if $property is specified.
public drop ( string $class, string $property = null ) : mixed
$class string
$property string
리턴 mixed
예제 #1
0
 /**
  * @depends testAlterClass
  */
 public function testDropClass($class)
 {
     $query = new Query();
     $query->drop($class);
     $response = $this->doQuery($query)->getInnerResponse();
     $json = json_decode($response->getBody(), true);
     $this->assertEquals(200, $response->getStatusCode());
     $this->assertTrue($json['result'][0]['value']);
     return $class;
 }