OpauthRegisterForm::set_field_source
Set a callable as a data provider for the field source. Field names must match those found on @see Member so they can be filtered accordingly.
Callable docs: http://php.net/manual/en/language.types.callable.php
Signature
public function set_field_source(callable
$sourceFn )
Parameters
$sourceFn
— object- Source closure to use, accepts $this as param