Commit 0dbea77d authored by Jonathan.Wage's avatar Jonathan.Wage

Fix to Builder so the generate_accessors option is used.

parent 33c209db
......@@ -405,7 +405,7 @@ END;
$setUp = $this->buildSetUp($options, $columns, $relations);
}
$accessors = true === true ? $this->buildAccessors($options, $columns):null;
$accessors = (isset($options['generate_accessors']) && $options['generate_accessors'] === true) ? $this->buildAccessors($options, $columns):null;
$content = sprintf(self::$tpl, $abstract,
$className,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment