public function __construct($provider, $operation) { parent::__construct(sprintf('Provider %s does not support the %s operation', $provider, $operation)); }