public function __construct($className, \Closure $builder) { $this->className = $className; $this->builder = $builder; }