Add function Blueprint::setTypes()

This commit is contained in:
Matias Griese 2016-05-20 21:52:31 +03:00
parent f449c560c4
commit 57544f6fe3

View File

@ -23,6 +23,19 @@ class Blueprint extends BlueprintForm
*/
protected $blueprintSchema;
/**
* Set default values for field types.
*
* @param array $types
* @return $this
*/
public function setTypes(array $types)
{
$this->blueprintSchema->setTypes($types);
return $this;
}
/**
* Get nested structure containing default values defined in the blueprints.
*