public function define(callable $factoryMethod) { $this->definition = $factoryMethod; return $this; }