public function __construct(Sql $resolver, $resolverBlock) { $this->resolver = $resolver; $this->resolverBlock = $resolverBlock; $this->message = sprintf("Dependency `%s` has a malformed resolver block.\n --- BEGIN RESOLVER BLOCK ---\n%s\n--- END RESOLVER BLOCK ---\n", $resolver->getId(), $resolverBlock); }