Méthode | Description | |
---|---|---|
generate ( string $class_name, array $properties = [] ) | ||
propertiesSetAndMatch ( $stub, array $properties = [], boolean $force = false ) | iteratest through properties to set values on the stub that exists on the stub class. If $force is true, will set the value regardless of whether or not the property exists on the element. |
public static propertiesSetAndMatch ( $stub, array $properties = [], boolean $force = false ) | ||
$stub | ||
$properties | array | |
$force | boolean |