create() public method

Executes a CREATE of a $class, or of the $property in the given $class if $property is specified.
public create ( string $class, string $property = null, string $type = null, string $linked = null ) : mixed
$class string
$property string
$type string
$linked string
return mixed
 /**
  * @depends testAlterClass
  */
 public function testCreateProperty($class)
 {
     $query = new Query();
     $query->create($class, 'customTestProperty', 'string');
     $this->assertHttpStatus(200, $this->doQuery($query));
     return $class;
 }