Sunnysideup\UpgradeToSilverstripe4\Traits\GettersAndSetters::__call
creates magic getters and setters if you call $this->getFooBar() then it will get the variable FooBar even if the method getFooBar does not exist.
if you call $this->setFooBar('hello') then it will set the variable FooBar even if the method setFooBar does not exist. See: http://php.net/manual/en/language.oop5.overloading.php#object.call
Signature
public function __call(string
$function,
array
$args )
Parameters
$function
— string- name of the function
$args
— array- parameters provided to the getter / setter