/** * {@inheritDoc} * @return IRepository */ protected function newMethodSegment($name, array $arguments = []) { return $this->repositoryProvider->createRepository($this->newMethod($name, $arguments)); }
public function apply(callable $applyFunction) { $this->provider->execute($this->newMethod(__FUNCTION__, [$applyFunction])); }