alterProperty() public method

Alters the $property of $class setting $sttribute to $value.
public alterProperty ( string $class, string $property, string $attribute, string $value ) : Alter
$class string
$property string
$attribute string
$value string
return Alter
 /**
  * @depends testCreateProperty
  */
 public function testAlterProperty($class)
 {
     $query = new Query();
     $query->alterProperty($class, 'customTestProperty', 'notnull', 'false');
     $this->assertHttpStatus(204, $this->doQuery($query));
     $query->alterProperty($class, 'customTestProperty', 'notnull', 'true');
     $this->assertHttpStatus(204, $this->doQuery($query));
     return $class;
 }